Files
wazero/internal/integration_test/fuzz/predicate.sh
2023-11-23 08:29:10 +09:00

13 lines
281 B
Bash
Executable File

#!/usr/bin/env bash
# The Wasm file is given as the first and only argument to the script.
WASM=$1
echo "Testing $WASM"
export WASM_BINARY_PATH=$WASM
# Run the test and reverse the exit code so that a non-zero exit code indicates interesting case.
./nodiff.test
exit $((! $?))