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.stamp
137137 PARSE_STAMP := build/stamps/spinel_parse.c.stamp
138138
139-.PHONY: all parse bootstrap codegen rbs_extract test retest clean-test-results regen-expected bench optcarrot clean install uninstall deps
139+.PHONY: all parse bootstrap codegen rbs_extract test retest test-gems clean-test-results regen-expected bench optcarrot clean install uninstall deps
140140
141141 # `make all` includes spinel_rbs_extract when vendor/rbs has been
142142 # fetched (via `make deps`). Without vendor/rbs the extractor is
@@ -415,6 +415,13 @@
415415 retest: clean-test-results
416416 @$(MAKE) --no-print-directory test
417417
418+# spinel-gem POC tests: unit tests for the Spinelfile DSL + shell-driven
419+# end-to-end scenarios (basic resolution, walk-up discovery, negative,
420+# dedup, invalid config). Depends on the parser binary being current so
421+# the E2E flow exercises the loadpath sidecar plumbing for real.
422+test-gems: spinel_parse$(EXE)
423+ @sh test_gem/run_all.sh
424+
418425 # The .ok target is the test's stamp; mtime tracking gives per-test
419426 # caching for free. Order-only spinel_parse$(EXE) / spinel_analyze$(EXE)
420427 # / spinel_codegen$(EXE) stop a bootstrap relink from invalidating every test.