Skip to content

Commit

Permalink
add debugging info in Bazel (#569)
Browse files Browse the repository at this point in the history
Signed-off-by: larrytaowang <[email protected]>
  • Loading branch information
larrytaowang authored Jan 18, 2024
1 parent 97ab3a0 commit ff9f45f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bptestrunner/bluepill_batch_test_runner.template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,14 @@ echo "Running ./bluepill --test-plan-path "${BP_TEST_PLAN_ARG}" -o "outputs" ${C

cd $BP_WORKING_FOLDER
RC=0

echo "Working directory: $(pwd)"
echo "Hostname: $(hostname)"

(./bluepill --test-plan-path "${BP_TEST_PLAN_ARG}" -o "outputs" ${CONFIG_ARG} ${TIME_ESTIMATE_ARG}) || RC=$?
# Move Bluepill output to bazel-testlogs
ditto "outputs" "$TEST_UNDECLARED_OUTPUTS_DIR"
rm -rf "outputs"

echo "Exit code: $RC"
exit $RC

0 comments on commit ff9f45f

Please sign in to comment.