Skip to content

Commit

Permalink
add debugging info in Bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
larrytaowang committed Jan 17, 2024
1 parent 97ab3a0 commit 9b88d87
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 9b88d87

Please sign in to comment.