Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit
Swift apple-silicond3dmetaldxmtdxvkgame-porting-toolkitgptkmac-gamingmacosmetalfxrosetta-2steamsteam-playwinewinecx
fix(scripts): run np-test-batch.sh without NP_TEST_ARGS on macOS bash
kevicebryandff626ae3b14
diff --git a/scripts/np-test-batch.sh b/scripts/np-test-batch.shindex 848d9d9..1b2d212 100755--- a/scripts/np-test-batch.sh+++ b/scripts/np-test-batch.sh@@ -7,7 +7,7 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"# shellcheck disable=SC2206EXTRA=(${NP_TEST_ARGS:-})for id in "$@"; do- out="$("$DIR/np-test-game.sh" "$id" "${EXTRA[@]}" --stop)"+ out="$("$DIR/np-test-game.sh" "$id" ${EXTRA[@]+"${EXTRA[@]}"} --stop)"printf '%s\n' "$out" | jq -r '"\(.appid)\t\(.name)\t\(.backend)\t\(.verdict)\t\(.seconds_alive)s"'sleep 5done