-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make the build step common among tests
- Loading branch information
1 parent
d47a69f
commit d202535
Showing
4 changed files
with
9 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
#!/bin/bash | ||
|
||
$CC $CFLAGS $LDFLAGS -o main.wasm main.c | ||
$WASMER -q run main.wasm --dir=. > output | ||
|
||
$WASMER -q run main.wasm --dir=. > output0 | ||
$WASMER -q run . --dir=. > output1 | ||
$WASMER -q package build --out cwd-to-home.webc . > /dev/null && $WASMER -q run cwd-to-home.webc --dir=. > output2 | ||
|
||
rm cwd-to-home.webc | ||
|
||
diff -u output0 expected 1>/dev/null && \ | ||
diff -u output1 expected 1>/dev/null && \ | ||
diff -u output2 expected 1>/dev/null | ||
diff -u output expected 1>/dev/null |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters