From d2ce68aed991e4fd079500294bd29107ba8fcbc1 Mon Sep 17 00:00:00 2001 From: adam-bloom Date: Sun, 21 Mar 2021 16:54:33 -0600 Subject: [PATCH] use openrct2-cli during macOS CI runs for run-tests --- scripts/run-tests | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/run-tests b/scripts/run-tests index a5cc969a77..1ec0677ed2 100755 --- a/scripts/run-tests +++ b/scripts/run-tests @@ -11,7 +11,11 @@ cd $basedir/bin # Scan objects first so that does not happen within a test echo -e "\033[0;36mBuilding OpenRCT2 repository indexes...\033[0m" -./openrct2 scan-objects +if [[ $(uname) == "Darwin" ]]; then + ./openrct2-cli scan-objects +else + ./openrct2 scan-objects +fi if [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" ]]; then # Now run all the tests