test: remove package-wide import assumptions

This commit is contained in:
2026-08-14 03:45:02 +09:00
parent a841278333
commit 04d9560d51
74 changed files with 121 additions and 154 deletions

View File

@@ -509,10 +509,11 @@ wwtest/test/tool/ffivariadic_test.ww: $(OUT)/ffivariadic/libffifix.a
# *_test.ww is discovered by the walk, and the libbyteid completeness
# scan still fails loudly on any unenrolled lib/ dir.
# These real sources have a standalone-compilation contract that is not
# subsumed by a library @test import owner.
LIBRARY_STANDALONE_SOURCES = lib/io/io.ww lib/strconv/strconv.ww \
lib/hash/fnv/fnv.ww lib/net/net.ww
# These import-free real sources have a standalone-compilation contract that
# is not subsumed by a library @test import owner. Import-bearing sources need
# their direct export data so the compiler can obtain declared package names;
# the package coordinator's lib/... walk owns those checks.
LIBRARY_STANDALONE_SOURCES = lib/io/io.ww lib/hash/fnv/fnv.ww lib/net/net.ww
test-unit: $(UNIT_BINS)
@set -e; for t in $(UNIT_BINS); do \