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

Run simd test cases with make partest #434

Merged
merged 2 commits into from
Feb 3, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions interpreter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ $(WINMAKE): clean
# Executing test suite

TESTDIR = ../test/core
TESTFILES = $(shell cd $(TESTDIR); ls *.wast)
TESTFILES = $(shell cd $(TESTDIR); ls *.wast; ls simd/*.wast)
TESTS = $(TESTFILES:%.wast=%)

.PHONY: test debugtest partest
Expand All @@ -138,7 +138,7 @@ partest: $(TESTS:%=quiettest/%)

quiettest/%: $(OPT)
@ ( \
$(TESTDIR)/run.py 2>$(@F).out --wasm `pwd`/$(OPT) $(if $(JS),--js '$(JS)',) $(@F:%=$(TESTDIR)/%.wast) && \
$(TESTDIR)/run.py 2>$(@F).out --wasm `pwd`/$(OPT) $(if $(JS),--js '$(JS)',) $(@:quiettest/%=$(TESTDIR)/%.wast) && \
rm $(@F).out \
) || \
cat $(@F).out || rm $(@F).out || exit 1
Expand Down