diff --git a/test/Makefile b/test/Makefile index 01de0206..bf656782 100644 --- a/test/Makefile +++ b/test/Makefile @@ -188,7 +188,7 @@ endif # To ignore a test temporarily, `touch .../success:`. RUNTESTS:=$(WASMS:$(OBJPAT)=$(RUNDIR)/%/success) wasm_to_c = $(patsubst $(OBJPAT),$(SRCDIR)/%.c,$1) -$(RUNDIR)/%.c/success: $(OBJPAT) +$(RUNDIR)/%/success: $(OBJPAT) @mkdir -p $(@D) @DIR="$(abspath $(@D))" \ WASM="$(abspath $<)" \ diff --git a/test/README.md b/test/README.md index 45e6d22a..2ba40e19 100644 --- a/test/README.md +++ b/test/README.md @@ -29,7 +29,7 @@ Note that `wasm-ld` must be available, so an additional looks like (see [`run-test.sh`]): ```sh -$ ls run/$TARGET_TRIPLE/misc/some-test.c +$ ls run/$TARGET_TRIPLE/misc/some-test cmd.sh # the exact command used to run the test fs # a directory containing any test-created files output.log # the captured printed output--only for errors