Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 40b255f

Browse files
ngzhianrossberg
andauthored
Run simd test cases with make partest (#434)
* Run simd test cases with make partest We list all simd test cases in simd/* in TESTFILES, then tweak the substitution in quiettest to strip quiettest/ from the front of the target, rather than match on just the file name (which loses the simd/) prefix. The temp output file name is unchanged, it uses the base file name (no simd/ prefix). * List all subdirs not just simd/ Co-authored-by: Andreas Rossberg <[email protected]>
1 parent 92ee194 commit 40b255f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interpreter/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ $(WINMAKE): clean
113113
# Executing test suite
114114
115115
TESTDIR = ../test/core
116-
TESTFILES = $(shell cd $(TESTDIR); ls *.wast)
116+
TESTFILES = $(shell cd $(TESTDIR); ls *.wast; ls */*.wast)
117117
TESTS = $(TESTFILES:%.wast=%)
118118
119119
.PHONY: test debugtest partest
@@ -138,7 +138,7 @@ partest: $(TESTS:%=quiettest/%)
138138
139139
quiettest/%: $(OPT)
140140
@ ( \
141-
$(TESTDIR)/run.py 2>$(@F).out --wasm `pwd`/$(OPT) $(if $(JS),--js '$(JS)',) $(@F:%=$(TESTDIR)/%.wast) && \
141+
$(TESTDIR)/run.py 2>$(@F).out --wasm `pwd`/$(OPT) $(if $(JS),--js '$(JS)',) $(@:quiettest/%=$(TESTDIR)/%.wast) && \
142142
rm $(@F).out \
143143
) || \
144144
cat $(@F).out || rm $(@F).out || exit 1

0 commit comments

Comments
 (0)