mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-27 21:10:29 +00:00
Add more json tests for ljson (#478)
This commit is contained in:
parent
11a1c62d11
commit
594615a0ff
43 changed files with 961 additions and 203 deletions
|
@ -6,30 +6,13 @@ 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_SAMPLES := $(wildcard test/tool/net/samples/*)
|
||||
TEST_TOOL_NET_SAMPLES_LUA = $(filter %.lua,$(TEST_TOOL_NET_SAMPLES))
|
||||
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_JSONORG_LUA)
|
||||
$(TEST_TOOL_NET_SAMPLES_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