Tests: Added json_test, a test rig for parsing external JSON files

This commit is contained in:
Paul Beckingham 2016-03-01 00:12:18 -05:00
parent 4ea233f103
commit 07190f4f65
3 changed files with 87 additions and 1 deletions

View file

@ -10,7 +10,7 @@ include_directories (${CMAKE_SOURCE_DIR}
include_directories (${CMAKE_INSTALL_PREFIX}/include)
link_directories(${CMAKE_INSTALL_PREFIX}/lib)
set (test_SRCS grammar.t json.t lexer.t lr0.t rules.t)
set (test_SRCS grammar.t json.t json_test lexer.t lr0.t rules.t)
add_custom_target (test ./run_all --verbose
DEPENDS ${test_SRCS}