Skip to content

Commit

Permalink
Fix wrong argument to test-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Jul 25, 2024
1 parent 56516d2 commit 560da97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/scripts/test-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,14 @@ function run_tests_for_os {
echo "'APP_PACKAGE_TO_UPGRADE_FROM' env not set, not testing upgrades"
upgrade_package_arg=""
else
upgrade_package_arg="--upgrade-package ${APP_PACKAGE_TO_UPGRADE_FROM}"
upgrade_package_arg="--app-package-to-upgrade-from ${APP_PACKAGE_TO_UPGRADE_FROM}"
fi
pushd "$TEST_DIR"
cargo run --bin test-manager \
run-tests \
--account "${ACCOUNT_TOKEN:?Error: ACCOUNT_TOKEN not set}" \
--app-package "${APP_PACKAGE:?Error: APP_PACKAGE not set}" \
"$upgrade_package_arg" \
"${upgrade_package_arg[@]}" \
--package-folder "${PACKAGE_FOLDER:?Error: PACKAGE_FOLDER not set}" \
--vm "$vm" \
"${TEST_FILTERS:-}" \
Expand Down Expand Up @@ -263,4 +263,4 @@ function build_current_version {
mv -n "$APP_DIR"/dist/"$app_filename" "$APP_PACKAGE"
mv -n "$APP_DIR"/dist/"$gui_test_filename" "$APP_PACKAGE"
popd
}
}

0 comments on commit 560da97

Please sign in to comment.