From a74e4abe58243a47b60446cb20a236d2d71a206e Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Fri, 7 Dec 2012 00:04:03 +0100 Subject: [PATCH] Fix testsuite target dependency setup. No idea how this worked locally. --- tests/d2/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/d2/CMakeLists.txt b/tests/d2/CMakeLists.txt index 99a32526..2b6c579e 100644 --- a/tests/d2/CMakeLists.txt +++ b/tests/d2/CMakeLists.txt @@ -18,11 +18,11 @@ function(add_testsuite config_name dflags) # The DFLAGS environment variable read by LDMD is used because the DMD # testsuite build system provides no way to run the test cases with a # given set of flags without trying all combinations of them. - add_test(NAME ${name}} + add_test(NAME ${name} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/d2/dmd-testsuite COMMAND ${CMAKE_MAKE_PROGRAM} RESULTS_DIR=${outdir} DMD=${ldmd_path} DFLAGS=${dflags} MODEL=${model} quick - DEPENDS ${name}_clean ) + set_tests_properties(${name} PROPERTIES DEPENDS ${name}_clean) endfunction() # Would like to specify the "-release" flag for relase builds, but some of the