mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Fix testsuite target dependency setup.
No idea how this worked locally.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user