Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[interpreter] Dune test suite #1478

Merged
merged 7 commits into from
May 17, 2022
5 changes: 4 additions & 1 deletion interpreter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ TESTDIR = ../test/core
TESTFILES = $(shell cd $(TESTDIR); ls *.wast; ls [a-z]*/*.wast)
TESTS = $(TESTFILES:%.wast=%)

.PHONY: test debugtest partest
.PHONY: test debugtest partest dune-test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: dunetest for consistency.

Can you also add such a target for the dune build itself?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed and added.


test: $(OPT) smallint
$(TESTDIR)/run.py --wasm `pwd`/$(OPT) $(if $(JS),--js '$(JS)',)
Expand Down Expand Up @@ -168,6 +168,9 @@ quiettest/%: $(OPT)
smallinttest: smallint
@./smallint.native

dune-test:
dune test

# Miscellaneous targets

.PHONY: clean
Expand Down