[test-suite] r338634 - cmake: Amend to llvm_test_traditional() changes
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 1 13:58:49 PDT 2018
Author: matze
Date: Wed Aug 1 13:58:48 2018
New Revision: 338634
URL: http://llvm.org/viewvc/llvm-project?rev=338634&view=rev
Log:
cmake: Amend to llvm_test_traditional() changes
Re-reading CUDA/CMakeLists.txt made me realize that there was a subtle
difference between NO_REFERENCE_OUTPUT and the
PROGRAM_IS_NONDETERMINISTIC that I removed. This should fix the problem.
Modified:
test-suite/trunk/External/CUDA/CMakeLists.txt
Modified: test-suite/trunk/External/CUDA/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/CUDA/CMakeLists.txt?rev=338634&r1=338633&r2=338634&view=diff
==============================================================================
--- test-suite/trunk/External/CUDA/CMakeLists.txt (original)
+++ test-suite/trunk/External/CUDA/CMakeLists.txt Wed Aug 1 13:58:48 2018
@@ -59,9 +59,7 @@ macro(create_one_local_test_f Name FileG
set(_executable_path ${CMAKE_CURRENT_BINARY_DIR}/${_executable})
# Verify reference output if it exists.
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${Name}.reference_output)
- set(NO_REFERENCE_OUTPUT 1)
- set(REFERENCE_OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${Name}.reference_output)
- llvm_test_traditional(${_executable})
+ llvm_test_traditional(${Name})
else()
# otherwise just run the executable.
llvm_test_run()
More information about the llvm-commits
mailing list