mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-15 07:19:18 +00:00
Add json.org tests for DecodeJson (#473)
This commit is contained in:
parent
5fa77f1e8f
commit
c0b325bafa
39 changed files with 313 additions and 10 deletions
|
@ -6,9 +6,30 @@ PKGS += TEST_TOOL_NET
|
|||
TEST_TOOL_NET = $(TOOL_NET_A_DEPS) $(TOOL_NET_A)
|
||||
TEST_TOOL_NET_A = o/$(MODE)/test/tool/net/net.a
|
||||
TEST_TOOL_NET_FILES := $(wildcard test/tool/net/*)
|
||||
TEST_TOOL_NET_JSONORG := $(wildcard test/tool/net/samples/*)
|
||||
|
||||
TEST_TOOL_NET_JSONORG_STRICT = \
|
||||
test/tool/net/samples/fail10.lua \
|
||||
test/tool/net/samples/fail19.lua \
|
||||
test/tool/net/samples/fail20.lua \
|
||||
test/tool/net/samples/fail21.lua \
|
||||
test/tool/net/samples/fail25.lua \
|
||||
test/tool/net/samples/fail26.lua \
|
||||
test/tool/net/samples/fail27.lua \
|
||||
test/tool/net/samples/fail28.lua \
|
||||
test/tool/net/samples/fail4.lua \
|
||||
test/tool/net/samples/fail5.lua \
|
||||
test/tool/net/samples/fail6.lua \
|
||||
test/tool/net/samples/fail7.lua \
|
||||
test/tool/net/samples/fail8.lua \
|
||||
test/tool/net/samples/fail9.lua
|
||||
|
||||
TEST_TOOL_NET_JSONORG_LUA = $(filter-out $(TEST_TOOL_NET_JSONORG_STRICT),$(filter %.lua,$(TEST_TOOL_NET_JSONORG)))
|
||||
TEST_TOOL_NET_SRCS = $(filter %.c,$(TEST_TOOL_NET_FILES))
|
||||
TEST_TOOL_NET_SRCS_TEST = $(filter %_test.c,$(TEST_TOOL_NET_SRCS))
|
||||
TEST_TOOL_NET_LUAS_TEST = $(filter %_test.lua,$(TEST_TOOL_NET_FILES))
|
||||
TEST_TOOL_NET_LUAS_TEST = \
|
||||
$(filter %_test.lua,$(TEST_TOOL_NET_FILES)) \
|
||||
$(TEST_TOOL_NET_JSONORG_LUA)
|
||||
TEST_TOOL_NET_HDRS = $(filter %.h,$(TEST_TOOL_NET_FILES))
|
||||
TEST_TOOL_NET_COMS = $(TEST_TOOL_NET_SRCS:%.c=o/$(MODE)/%.com)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue