diff options
author | Juergen Kahrs <Juergen.Kahrs@googlemail.com> | 2013-05-06 21:18:05 +0200 |
---|---|---|
committer | Juergen Kahrs <Juergen.Kahrs@googlemail.com> | 2013-05-06 21:18:05 +0200 |
commit | 55775186a2fb7e4f61b57e2923abe4e6e4728eb0 (patch) | |
tree | b39c84f9212b04a70cbee319ecaea3f6f5cba730 /test | |
parent | 263bd7ca867fdb26241a8681075f99d97c33c4d0 (diff) | |
download | egawk-55775186a2fb7e4f61b57e2923abe4e6e4728eb0.tar.gz egawk-55775186a2fb7e4f61b57e2923abe4e6e4728eb0.tar.bz2 egawk-55775186a2fb7e4f61b57e2923abe4e6e4728eb0.zip |
Found better way to auto-detect GETGROUPS_T and GETPGRP_VOID.
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index d92897d8..564eb776 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -43,7 +43,6 @@ foreach(testgroup ${ALL_GROUPS} ) # Some test cases are special, treat them accordingly. foreach(testcase ${ONE_GROUP} ) set(options "") - set(file_suffix "") if(${testcase} STREQUAL lintold) set(options "--lint-old") elseif( @@ -55,12 +54,7 @@ foreach(testgroup ${ALL_GROUPS} ) ${testcase} STREQUAL uninitialized) set(options "--lint") endif() - - if ("${file_suffix}" STREQUAL "") - add_test("${testgroup}.${testcase}" ${SHELL_PREFIX} ${CMAKE_SOURCE_DIR}/cmake/basictest ${CMAKE_BINARY_DIR}/gawk ${testcase}${file_suffix} ${options} ) - else() - message(STATUS "Skipping test case ${testgroup}.${testcase}") - endif() + add_test("${testgroup}.${testcase}" ${SHELL_PREFIX} ${CMAKE_SOURCE_DIR}/cmake/basictest ${CMAKE_BINARY_DIR}/gawk ${testcase}${file_suffix} ${options} ) endforeach(testcase) endforeach(testgroup) |