From e466d015e2b12b122102c745ad12c973ab3ee954 Mon Sep 17 00:00:00 2001 From: David Manura Date: Sat, 14 May 2011 20:12:08 -0400 Subject: test - enable test of readonly.lua --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1