Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add debugging info in Bazel template #569

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading