summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Manura <dm.git@math2.org>2011-03-19 18:12:20 -0400
committerDavid Manura <dm.git@math2.org>2011-03-19 18:12:20 -0400
commit6ea5c6d55dfbc43ab581f8032cacd4ccea82a754 (patch)
tree56b77fddfa1c720ef2a2ae1395b13d18af29ed68
parente86b3d7dfdaf72b07dc005843d8fdaaa9d97f12b (diff)
downloadlua-6ea5c6d55dfbc43ab581f8032cacd4ccea82a754.tar.gz
cmake - fix SKIP_TESTING test in dist.cmake
-rw-r--r--dist.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist.cmake b/dist.cmake
index 86dc6d0..436cbc9 100644
--- a/dist.cmake
+++ b/dist.cmake
@@ -357,8 +357,8 @@ endmacro ()
# Under LuaDist, set test=true in config.lua to enable testing.
# USE: add_lua_test ( test/test1.lua )
macro ( add_lua_test _testfile )
- if ( SKIP_TESTING )
- include ( CTest )
+ if ( NOT SKIP_TESTING )
+ include ( CTest )
find_program ( LUA NAMES lua lua.bat )
get_filename_component ( TESTFILEABS ${_testfile} ABSOLUTE )
get_filename_component ( TESTFILENAME ${_testfile} NAME )