Skip to content

Commit

Permalink
bin/testflinger-run: allow passing additional args, needed for tests/…
Browse files Browse the repository at this point in the history
…cluster

Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jan 25, 2024
1 parent 4df35ca commit b904bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/testflinger-run
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test_data:
\$SCP "\${_script}" "ubuntu@\${DEVICE_IP}:test-script"
# Run the test
\$SSH "ubuntu@\${DEVICE_IP}" -- sudo bash test-script
\$SSH "ubuntu@\${DEVICE_IP}" -- sudo bash test-script $@
EOF
}

Expand All @@ -87,4 +87,4 @@ setup_testflinger

# Submit the job
echo "==> Running the job ${test_name} against ${lxd_snap_channel}" >&2
testflinger_yaml_job | testflinger submit --poll -
testflinger_yaml_job "$*" | testflinger submit --poll -

0 comments on commit b904bf3

Please sign in to comment.