diff options
| author | David Lönnhager <david.l@mullvad.net> | 2024-08-15 16:34:26 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2024-08-15 16:34:26 +0200 |
| commit | cb1df6aef6a3f09123f7ec15611188a245853e0d (patch) | |
| tree | 19c62571b8b9d16b68d3ee0e0ab240ee094b2256 /test/scripts | |
| parent | e804454a43d4f0f8756f3eacc47f12ef8dba8838 (diff) | |
| parent | 65b0b4853c9dc635aee84dfc08755a1dde981486 (diff) | |
| download | mullvadvpn-cb1df6aef6a3f09123f7ec15611188a245853e0d.tar.xz mullvadvpn-cb1df6aef6a3f09123f7ec15611188a245853e0d.zip | |
Merge branch 'test-add-test-filter'
Diffstat (limited to 'test/scripts')
| -rwxr-xr-x | test/scripts/test-utils.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/scripts/test-utils.sh b/test/scripts/test-utils.sh index a51f0c3043..75ad548701 100755 --- a/test/scripts/test-utils.sh +++ b/test/scripts/test-utils.sh @@ -254,6 +254,7 @@ function run_tests_for_os { package_dir=$(get_package_dir) local test_dir test_dir=$(get_test_utls_dir)/.. + read -ra test_filters_arg <<<"${TEST_FILTERS:-}" # Split the string by words into an array pushd "$test_dir" if ! RUST_LOG_STYLE=always cargo run --bin test-manager \ run-tests \ @@ -263,7 +264,7 @@ function run_tests_for_os { "${test_report_arg[@]}" \ --package-dir "${package_dir}" \ --vm "$vm" \ - "${TEST_FILTERS:-}" \ + "${test_filters_arg[@]}" \ 2>&1 | sed -r "s/${ACCOUNT_TOKEN}/\{ACCOUNT_TOKEN\}/g"; then echo "Test run failed" exit 1 |
