Details
Details
Diff Detail
Diff Detail
Event Timeline
test/Driver/cuda-preprocess.cu | ||
---|---|---|
13–16 | Given it's a driver test you probably just want to check the list of commands generated by driver (-###) Checking preprocessing results would probably belong to test/Preprocessor. | |
17 | This would succeed if we fail to preprocess as it would catch 'clang_unittest_no_arch' in the #ifndef above. I'd add some macro which will get preprocessed away: #ifndef __CUDA_ARCH__ #define PREPROCESSED_AWAY clang_unittest_no_arch __ PREPROCESSED_AWAY ... It may be an overkill, though. Up to you. |
Given it's a driver test you probably just want to check the list of commands generated by driver (-###)
Checking preprocessing results would probably belong to test/Preprocessor.