diff options
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5fd488e..655ecd1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -166,7 +166,8 @@ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/test/life-quick.lua "${_data}") add_lua_test ( ${CMAKE_CURRENT_BINARY_DIR}/test/life-quick.lua ) #add_lua_test ( test/luac.lua ) # Requires input add_lua_test ( test/printf.lua ) -#add_lua_test ( test/readonly.lua ) # this is aimed to fail, modification is required +add_lua_test ( test/readonly.lua ) +set_property ( TEST readonly PROPERTY PASS_REGULAR_EXPRESSION "cannot redefine global variable `y'" ) add_lua_test ( test/sieve.lua ) add_lua_test ( test/sort.lua ) #add_lua_test ( test/table.lua ) # Requires input |