move test harness out of test dir

and install to test.lua in top-level scripts directory instead of test/main.lua
develop
myk002 2021-03-22 10:15:32 -07:00
parent 3e5a2c8d7c
commit 5f00183177
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
4 changed files with 2 additions and 0 deletions

@ -503,6 +503,7 @@ if(BUILD_TESTS)
endif() endif()
install(DIRECTORY ${dfhack_SOURCE_DIR}/test install(DIRECTORY ${dfhack_SOURCE_DIR}/test
DESTINATION ${DFHACK_DATA_DESTINATION}/scripts) DESTINATION ${DFHACK_DATA_DESTINATION}/scripts)
install(FILES ci/test.lua DESTINATION ${DFHACK_DATA_DESTINATION}/scripts)
endif() endif()
# Packaging with CPack! # Packaging with CPack!

@ -38,6 +38,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
## Internals ## Internals
- The DFHack test harness is now much easier to use for iterative development. Configuration can now be specified on the commandline, there are more test filter options, and the test harness can now easily rerun tests that have been run before. - The DFHack test harness is now much easier to use for iterative development. Configuration can now be specified on the commandline, there are more test filter options, and the test harness can now easily rerun tests that have been run before.
- The ``test/main`` command to invoke the test harness has been renamed to just ``test``
# 0.47.05-r1 # 0.47.05-r1