Author: echristo
Date: Thu Jun 29 23:03:47 2017
New Revision: 306790

URL: http://llvm.org/viewvc/llvm-project?rev=306790&view=rev
Log:
Add -no-canonical-prefixes to the test line so that we can handle different 
build modes.

Modified:
    cfe/trunk/test/Driver/openmp-offload.c

Modified: cfe/trunk/test/Driver/openmp-offload.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/openmp-offload.c?rev=306790&r1=306789&r2=306790&view=diff
==============================================================================
--- cfe/trunk/test/Driver/openmp-offload.c (original)
+++ cfe/trunk/test/Driver/openmp-offload.c Thu Jun 29 23:03:47 2017
@@ -593,7 +593,7 @@
 /// ###########################################################################
 
 /// Check -fopenmp-is-device is passed when compiling for the device.
-// RUN:   %clang -### -target powerpc64le-linux -fopenmp=libomp 
-fopenmp-targets=powerpc64le-ibm-linux-gnu %s 2>&1 \
+// RUN:   %clang -### -no-canonical-prefixes -target powerpc64le-linux 
-fopenmp=libomp -fopenmp-targets=powerpc64le-ibm-linux-gnu %s 2>&1 \
 // RUN:   | FileCheck -check-prefix=CHK-FOPENMP-IS-DEVICE %s
 
 // CHK-FOPENMP-IS-DEVICE: clang{{.*}} "-aux-triple" "powerpc64le--linux" 
{{.*}}.c" "-fopenmp-is-device" "-fopenmp-host-ir-file-path"


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to