diff --git a/parsers/test_rl_json/run_rl_json.tcl b/parsers/test_rl_json/run_rl_json.tcl new file mode 100644 index 0000000..dc053b9 --- /dev/null +++ b/parsers/test_rl_json/run_rl_json.tcl @@ -0,0 +1,8 @@ +package require rl_json +try { + set s [read stdin] + ::rl_json::json parse $s +} on error {e o} { + exit 1 +} +exit 0 diff --git a/parsers/test_rl_json/tclsh b/parsers/test_rl_json/tclsh new file mode 100755 index 0000000..b7fe5f2 --- /dev/null +++ b/parsers/test_rl_json/tclsh @@ -0,0 +1,2 @@ +#!/bin/sh +exec tclsh $* diff --git a/run_tests.py b/run_tests.py index 63770d5..70c5a1d 100755 --- a/run_tests.py +++ b/run_tests.py @@ -20,6 +20,12 @@ INVALID_BINARY_FORMAT = 8 programs = { + "RubyLane": + { + "url":"https://github.com/RubyLane/rl_json", + "commands":[os.path.join(PARSERS_DIR, "test_rl_json/tclsh"), os.path.join(PARSERS_DIR, "test_rl_json/run_rl_json.tcl")], + "use_stdin":True + }, "Bash JSON.sh 2016-08-12": { "url":"https://github.com/dominictarr/JSON.sh",