From ff9f45f65c64c67736bccebccde3ff72908685c1 Mon Sep 17 00:00:00 2001 From: Tao Wang Date: Thu, 18 Jan 2024 15:01:16 -0800 Subject: [PATCH] add debugging info in Bazel (#569) Signed-off-by: larrytaowang --- bptestrunner/bluepill_batch_test_runner.template.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bptestrunner/bluepill_batch_test_runner.template.sh b/bptestrunner/bluepill_batch_test_runner.template.sh index 012b9f38..e623c2fe 100644 --- a/bptestrunner/bluepill_batch_test_runner.template.sh +++ b/bptestrunner/bluepill_batch_test_runner.template.sh @@ -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