Skip to content

Commit 560da97

Browse files
committedJul 25, 2024
Fix wrong argument to test-manager
1 parent 56516d2 commit 560da97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎test/scripts/test-utils.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,14 @@ function run_tests_for_os {
214214
echo "'APP_PACKAGE_TO_UPGRADE_FROM' env not set, not testing upgrades"
215215
upgrade_package_arg=""
216216
else
217-
upgrade_package_arg="--upgrade-package ${APP_PACKAGE_TO_UPGRADE_FROM}"
217+
upgrade_package_arg="--app-package-to-upgrade-from ${APP_PACKAGE_TO_UPGRADE_FROM}"
218218
fi
219219
pushd "$TEST_DIR"
220220
cargo run --bin test-manager \
221221
run-tests \
222222
--account "${ACCOUNT_TOKEN:?Error: ACCOUNT_TOKEN not set}" \
223223
--app-package "${APP_PACKAGE:?Error: APP_PACKAGE not set}" \
224-
"$upgrade_package_arg" \
224+
"${upgrade_package_arg[@]}" \
225225
--package-folder "${PACKAGE_FOLDER:?Error: PACKAGE_FOLDER not set}" \
226226
--vm "$vm" \
227227
"${TEST_FILTERS:-}" \
@@ -263,4 +263,4 @@ function build_current_version {
263263
mv -n "$APP_DIR"/dist/"$app_filename" "$APP_PACKAGE"
264264
mv -n "$APP_DIR"/dist/"$gui_test_filename" "$APP_PACKAGE"
265265
popd
266-
}
266+
}

0 commit comments

Comments
 (0)