rsmith accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: test/Preprocessor/cuda-types.cu:7-9
@@ +6,5 @@
+// RUN: %clang --cuda-device-only -nocudainc -target i386-unknown-linux-gnu -x 
cuda -E -dM -o - /dev/null > %T/i386-device-defines
+// RUN: grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)' %T/i386-host-defines  
 | grep -v '__LDBL\|_LONG_DOUBLE' > %T/i386-host-defines-filtered
+// RUN: grep 'define __[^ ]*\(TYPE\|MAX\|SIZEOF|WIDTH\)' 
%T/i386-device-defines | grep -v '__LDBL\|_LONG_DOUBLE' > 
%T/i386-device-defines-filtered
+// RUN: diff %T/i386-host-defines-filtered %T/i386-device-defines-filtered
+
----------------
I expect you'll also need a `REQUIRES: shell` for this stuff.


http://reviews.llvm.org/D19346



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

Reply via email to