mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 11:07:46 +00:00
Makefile: create random filename inside rule
Don't create the temporary name in advance (which needs a subprocess call), only do that when needed inside the report-stdlib-tests-pass rule.
This commit is contained in:
committed by
Ron Evans
parent
5d92d4dc98
commit
627743432a
+1
-1
@@ -445,8 +445,8 @@ TEST_PACKAGES_NONBAREMETAL = \
|
||||
$(nil)
|
||||
|
||||
# Report platforms on which each standard library package is known to pass tests
|
||||
jointmp := $(shell echo /tmp/join.$$$$)
|
||||
report-stdlib-tests-pass:
|
||||
$(eval jointmp := $(shell echo /tmp/join.$$$$))
|
||||
@for t in $(TEST_PACKAGES_DARWIN); do echo "$$t darwin"; done | sort > $(jointmp).darwin
|
||||
@for t in $(TEST_PACKAGES_LINUX); do echo "$$t linux"; done | sort > $(jointmp).linux
|
||||
@for t in $(TEST_PACKAGES_FAST) $(TEST_PACKAGES_SLOW); do echo "$$t darwin linux wasi windows"; done | sort > $(jointmp).portable
|
||||
|
||||
Reference in New Issue
Block a user