diff options
author | David Manura <dm.git@math2.org> | 2011-05-14 20:12:08 -0400 |
---|---|---|
committer | David Manura <dm.git@math2.org> | 2011-05-14 20:12:08 -0400 |
commit | e466d015e2b12b122102c745ad12c973ab3ee954 (patch) | |
tree | 7b86ae16945e78594244fddc2e9bd4b235cfecee | |
parent | ca031704029853b8701ccef1a8d6807b93ff243a (diff) | |
download | lua-e466d015e2b12b122102c745ad12c973ab3ee954.tar.gz |
test - enable test of readonly.lua
-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 |