File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22set -ueo pipefail
33
4- runwasm =" $1 "
4+ runwasi =" $1 "
55
66cd compile-only
77for options in -O0 -O2 " -O2 -flto" ; do
@@ -22,11 +22,11 @@ for options in -O0 -O2 "-O2 -flto"; do
2222 echo " ===== Testing with $options ====="
2323 for file in * .c; do
2424 echo " Testing $file ..."
25- ../testcase.sh " $runwasm " clang " $options " " $file "
25+ ../testcase.sh " $runwasi " clang " $options " " $file "
2626 done
2727 for file in * .cc; do
2828 echo " Testing $file ..."
29- ../testcase.sh " $runwasm " clang++ " $options " " $file "
29+ ../testcase.sh " $runwasi " clang++ " $options " " $file "
3030 done
3131done
3232cd - > /dev/null
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -ueo pipefail
44# A simple testcase runner that runs a command, captures all its command-line
55# outputs, and compares them against expected outputs.
66
7- runwasm =" $1 "
7+ runwasi =" $1 "
88clang=" $2 "
99options=" $3 "
1010input=" $4 "
2929fi
3030
3131exit_status=0
32- " $runwasm " " $wasm " \
32+ " $runwasi " " $wasm " \
3333 < " $stdin " \
3434 > " $stdout_observed " \
3535 2> " $stderr_observed " \
You can’t perform that action at this time.
0 commit comments