Use build.rs to generate test cases automatically

Now, test binaries are bundled with the repo, and
just like in CraneStation/wasmtime, the test cases
are generated automatically using build.rs. So all
it takes is to drop a new test binary in the
testsuite dir to get the test case for it generated
(with some caveats to do with handling preopens).
This commit is contained in:
Jakub Konka
2019-06-26 09:59:00 +02:00
committed by Dan Gohman
parent 656112d00b
commit 22c69f46f9
19 changed files with 159 additions and 105 deletions

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "tests/misc-tests"]
path = tests/misc-tests
url = https://github.com/kubkon/misc-tests.git