From 0b11f1360165859e37596b9cf0d52febca84d154 Mon Sep 17 00:00:00 2001 From: larrytaowang Date: Wed, 17 Jan 2024 10:51:36 -0800 Subject: [PATCH] add debugging info in Bazel 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