diff options
author | Juergen Kahrs <Juergen.Kahrs@googlemail.com> | 2013-05-16 21:24:38 +0200 |
---|---|---|
committer | Juergen Kahrs <Juergen.Kahrs@googlemail.com> | 2013-05-16 21:24:38 +0200 |
commit | 31ab1e85c7423384a19575217178f34d54f4be7e (patch) | |
tree | bfa7db80689ce3c8fd391a2472b5e8ffaa55dbe0 | |
parent | 98ecd5e8c7b6c83b8c794050249b445dfea17334 (diff) | |
download | egawk-31ab1e85c7423384a19575217178f34d54f4be7e.tar.gz egawk-31ab1e85c7423384a19575217178f34d54f4be7e.tar.bz2 egawk-31ab1e85c7423384a19575217178f34d54f4be7e.zip |
Test case SHLIB.filefuncs now needs a file named gawkapi.o.
-rw-r--r-- | test/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 9bb7b228..3c3b88b0 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -41,15 +41,15 @@ foreach(testgroup ${ALL_GROUPS} ) string(REGEX REPLACE " " ";" ONE_GROUP "${ONE_GROUP}") # Use each name of a test case to start a script that executes the test case. foreach(testcase ${ONE_GROUP} ) - add_test("${testgroup}.${testcase}" ${SHELL_PREFIX} ${CMAKE_SOURCE_DIR}/cmake/basictest ${CMAKE_BINARY_DIR}/gawk${CMAKE_EXECUTABLE_SUFFIX} ${testcase}${file_suffix} ) + add_test("${testgroup}.${testcase}" ${SHELL_PREFIX} ${CMAKE_SOURCE_DIR}/cmake/basictest ${CMAKE_BINARY_DIR}/gawk${CMAKE_EXECUTABLE_SUFFIX} ${testcase}) endforeach(testcase) endforeach(testgroup) # Create an empty configuration file for customizing test execution. set(CTestCustom ${CMAKE_BINARY_DIR}/CTestCustom.cmake) file(WRITE ${CTestCustom} "# DO NOT EDIT, THIS FILE WILL BE OVERWRITTEN\n" ) -# Test case SHLIB.filefuncs needs the gawk exe in source directory. -file(APPEND ${CTestCustom} "file(COPY ${CMAKE_BINARY_DIR}/gawk${CMAKE_EXECUTABLE_SUFFIX} DESTINATION ${CMAKE_SOURCE_DIR})\n") +# Test case SHLIB.filefuncs needs a file named gawkapi.o in source directory. +file(APPEND ${CTestCustom} "file(COPY ${CMAKE_SOURCE_DIR}/README DESTINATION ${CMAKE_SOURCE_DIR}/gawkapi.o)\n") # Exclude test cases from execution that make no sense on a certain platform. file(APPEND ${CTestCustom} "set(CTEST_CUSTOM_TESTS_IGNORE\n") if(WIN32) |