[pkg-d-commits] [ldc] 38/95: Make sure the configfile diagnostic tests also pass when LLVM X86 target is not available.

Matthias Klumpp mak at moszumanska.debian.org
Thu Jul 13 20:53:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

mak pushed a commit to annotated tag v1.3.0-beta1
in repository ldc.

commit c08bc716a6df1d0388a8c8f3ed8fc5140ca8e942
Author: Johan Engelen <jbc.engelen at gmail.com>
Date:   Fri Mar 3 22:04:09 2017 +0100

    Make sure the configfile diagnostic tests also pass when LLVM X86 target is not available.
---
 tests/driver/config_diag.d     | 3 ---
 tests/driver/config_diag_x86.d | 9 +++++++++
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/tests/driver/config_diag.d b/tests/driver/config_diag.d
index 6edb5a7..281ead8 100644
--- a/tests/driver/config_diag.d
+++ b/tests/driver/config_diag.d
@@ -4,9 +4,6 @@
 // RUN: not %ldc -conf=%S/inputs/section_aaa.conf %s 2>&1 | FileCheck %s --check-prefix=NO_SEC
 // NO_SEC: Could not look up section '{{.*}}' nor the 'default' section in {{.*}}section_aaa.conf
 
-// RUN: %ldc -conf=%S/inputs/override_default.conf -mtriple=x86-apple-windows-msvc -c -o- %s | FileCheck %s --check-prefix=OVERRIDE_DEFAULT
-// OVERRIDE_DEFAULT: LDC - the LLVM D compiler
-
 
 void foo()
 {
diff --git a/tests/driver/config_diag_x86.d b/tests/driver/config_diag_x86.d
new file mode 100644
index 0000000..ed8026c
--- /dev/null
+++ b/tests/driver/config_diag_x86.d
@@ -0,0 +1,9 @@
+// REQUIRES: target_X86
+
+// RUN: %ldc -conf=%S/inputs/override_default.conf -mtriple=x86-apple-windows-msvc -c -o- %s | FileCheck %s --check-prefix=OVERRIDE_DEFAULT
+// OVERRIDE_DEFAULT: LDC - the LLVM D compiler
+
+
+void foo()
+{
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list