r215836 - Add a test for -no-canonical-prefixes.

Rafael Espindola rafael.espindola at gmail.com
Sun Aug 17 09:22:16 PDT 2014


Author: rafael
Date: Sun Aug 17 11:22:16 2014
New Revision: 215836

URL: http://llvm.org/viewvc/llvm-project?rev=215836&view=rev
Log:
Add a test for -no-canonical-prefixes.

Added:
    cfe/trunk/test/Driver/no-canonical-prefixes.c

Added: cfe/trunk/test/Driver/no-canonical-prefixes.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/no-canonical-prefixes.c?rev=215836&view=auto
==============================================================================
--- cfe/trunk/test/Driver/no-canonical-prefixes.c (added)
+++ cfe/trunk/test/Driver/no-canonical-prefixes.c Sun Aug 17 11:22:16 2014
@@ -0,0 +1,10 @@
+// REQUIRES: shell
+// RUN: mkdir -p %t
+// RUN: cd %t
+// RUN: ln -sf %clang test-clang
+// RUN: ./test-clang -v -S %s 2>&1 | FileCheck %s
+// RUN: ./test-clang -v -S %s -no-canonical-prefixes 2>&1 | FileCheck --check-prefix=NCP %s
+
+
+// CHECK: /bin/clang{{.*}}" -cc1
+// NCP: test-clang" -cc1





More information about the cfe-commits mailing list