From 268a57b41f3062cc3345be1a693a38dbb045160f Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 20 Dec 2019 14:13:30 -0800 Subject: [PATCH] Rename runwasm to runwasi. --- tests/run.sh | 6 +++--- tests/testcase.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/run.sh b/tests/run.sh index 9954c77..eb1ad67 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -1,7 +1,7 @@ #!/bin/bash set -ueo pipefail -runwasm="$1" +runwasi="$1" cd compile-only for options in -O0 -O2 "-O2 -flto"; do @@ -22,11 +22,11 @@ for options in -O0 -O2 "-O2 -flto"; do echo "===== Testing with $options =====" for file in *.c; do echo "Testing $file..." - ../testcase.sh "$runwasm" clang "$options" "$file" + ../testcase.sh "$runwasi" clang "$options" "$file" done for file in *.cc; do echo "Testing $file..." - ../testcase.sh "$runwasm" clang++ "$options" "$file" + ../testcase.sh "$runwasi" clang++ "$options" "$file" done done cd - >/dev/null diff --git a/tests/testcase.sh b/tests/testcase.sh index d5f5824..af70392 100755 --- a/tests/testcase.sh +++ b/tests/testcase.sh @@ -4,7 +4,7 @@ set -ueo pipefail # A simple testcase runner that runs a command, captures all its command-line # outputs, and compares them against expected outputs. -runwasm="$1" +runwasi="$1" clang="$2" options="$3" input="$4" @@ -29,7 +29,7 @@ else fi exit_status=0 -"$runwasm" "$wasm" \ +"$runwasi" "$wasm" \ < "$stdin" \ > "$stdout_observed" \ 2> "$stderr_observed" \