From 69d59b109bf825e88137fda95cff5bb7a0694855 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Thu, 17 Aug 2023 00:36:36 -0600 Subject: [PATCH] Add stack logs in case of fail --- tests/fixturenet-eth/run-test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/fixturenet-eth/run-test.sh b/tests/fixturenet-eth/run-test.sh index 323a1712..c3195bcf 100755 --- a/tests/fixturenet-eth/run-test.sh +++ b/tests/fixturenet-eth/run-test.sh @@ -37,6 +37,8 @@ if [[ $block_number_difference -gt 1 && $block_number_difference -lt 10 ]]; then test_result=0 else echo "Test failed: block numbers were ${initial_block_number} and ${subsequent_block_number}" + echo "Logs from stack:" + $TEST_TARGET_SO --stack fixturenet-eth deploy logs test_result=1 fi $TEST_TARGET_SO --stack fixturenet-eth deploy down