Commit e4d2ffaa
e4d2ffaa5870Merged
Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 10 files · +7 added · ~3 modified
Description
Merge branch 'neidiom/master'
Details
- Commit
- e4d2ffaa5870
- Parent
- 2b8469d00ebc
- Merge parent
- e27595249e27
MakefilemodifiedView file
@@ -136,7 +136,7 @@
136136
COMPILER_HELPERS_STAMP := build/stamps/compiler_helpers.rb.stamp137137
PARSE_STAMP := build/stamps/spinel_parse.c.stamp138138
139-
.PHONY: all parse bootstrap codegen rbs_extract test retest clean-test-results regen-expected bench optcarrot clean install uninstall deps139+
.PHONY: all parse bootstrap codegen rbs_extract test retest test-gems clean-test-results regen-expected bench optcarrot clean install uninstall deps140140
141141
# `make all` includes spinel_rbs_extract when vendor/rbs has been142142
# fetched (via `make deps`). Without vendor/rbs the extractor is@@ -415,6 +415,13 @@
415415
retest: clean-test-results416416
@$(MAKE) --no-print-directory test417417
418+
# spinel-gem POC tests: unit tests for the Spinelfile DSL + shell-driven419+
# end-to-end scenarios (basic resolution, walk-up discovery, negative,420+
# dedup, invalid config). Depends on the parser binary being current so421+
# the E2E flow exercises the loadpath sidecar plumbing for real.422+
test-gems: spinel_parse$(EXE)423+
@sh test_gem/run_all.sh424+
418425
# The .ok target is the test's stamp; mtime tracking gives per-test419426
# caching for free. Order-only spinel_parse$(EXE) / spinel_analyze$(EXE)420427
# / spinel_codegen$(EXE) stop a bootstrap relink from invalidating every test.spinelmodifiedView file
Loading diff…
spinel-gemaddedView file
Loading diff…
spinel_gem.rbaddedView file
Loading diff…
spinel_parse.cmodifiedView file
Loading diff…
test/require_top_of_file.rbaddedView file
Loading diff…
test/require_top_of_file.rb.expectedaddedView file
Loading diff…
test_gem/run_all.shaddedView file
Loading diff…
test_gem/run_e2e.shaddedView file
Loading diff…
test_gem/spinelfile_test.rbaddedView file
Loading diff…