Skip to content

Commit 268a57b

Browse files
committed
Rename runwasm to runwasi.
1 parent 21657b7 commit 268a57b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -ueo pipefail
33

4-
runwasm="$1"
4+
runwasi="$1"
55

66
cd compile-only
77
for 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
3131
done
3232
cd - >/dev/null

tests/testcase.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"
88
clang="$2"
99
options="$3"
1010
input="$4"
@@ -29,7 +29,7 @@ else
2929
fi
3030

3131
exit_status=0
32-
"$runwasm" "$wasm" \
32+
"$runwasi" "$wasm" \
3333
< "$stdin" \
3434
> "$stdout_observed" \
3535
2> "$stderr_observed" \

0 commit comments

Comments
 (0)