Skip to content

Commit 056394e

Browse files
aykevldeadprogram
authored andcommitted
make: add test-corpus-wasip2
I wanted to run the test corpus with WASIp2 so I added these lines.
1 parent 1545659 commit 056394e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GNUmakefile

+2
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,8 @@ test-corpus-fast:
491491
CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test $(GOTESTFLAGS) -timeout=1h -buildmode exe -tags byollvm -run TestCorpus -short . -corpus=testdata/corpus.yaml
492492
test-corpus-wasi: wasi-libc
493493
CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test $(GOTESTFLAGS) -timeout=1h -buildmode exe -tags byollvm -run TestCorpus . -corpus=testdata/corpus.yaml -target=wasip1
494+
test-corpus-wasip2: wasi-libc
495+
CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test $(GOTESTFLAGS) -timeout=1h -buildmode exe -tags byollvm -run TestCorpus . -corpus=testdata/corpus.yaml -target=wasip2
494496

495497
tinygo-baremetal:
496498
# Regression tests that run on a baremetal target and don't fit in either main_test.go or smoketest.

0 commit comments

Comments
 (0)