[test] Specify an explicit darwin version in a triple in
authorAlex Lorenz <arphaman@gmail.com>
Fri, 5 Apr 2019 01:48:11 +0000 (01:48 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 5 Apr 2019 01:48:11 +0000 (01:48 +0000)
`test/Driver/debug-options.c` to ensure that the driver
selects the DWARF 2 version as intended by the test.

Fixes the `test/Driver/debug-options.c` test regression on GreenDragon
on macOS that started failing after r357713.

llvm-svn: 357740

clang/test/Driver/debug-options.c

index 049414c..6acc7e8 100644 (file)
@@ -25,7 +25,7 @@
 // RUN:             | FileCheck -check-prefix=G -check-prefix=G_DWARF4 %s
 
 // Darwin.
-// RUN: %clang -### -c -g %s -target x86_64-apple-darwin 2>&1 \
+// RUN: %clang -### -c -g %s -target x86_64-apple-darwin14 2>&1 \
 // RUN:             | FileCheck -check-prefix=G_STANDALONE \
 // RUN:                         -check-prefix=G_DWARF2 \
 // RUN:                         -check-prefix=G_LLDB %s