Skip to content

Commit

Permalink
More debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Jan 25, 2023
1 parent d7303a2 commit 2a63bf5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions tests/bazel_run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,10 @@ function expect_same() {
local after="$2"

if [ "$before" != "$after" ]; then
printf "FAILED\n"
diff <(echo "$before") <(echo "$after")

echo "Before"
od -a "$before"

echo "After"
od -a "$after"
diff <(echo "$before") <(echo "$after") >> "$TEST_LOG" 2>&1

printf "FAILED\n"
cat $TEST_LOG
DUMPED_TEST_LOG=1
return 1
fi
Expand Down

0 comments on commit 2a63bf5

Please sign in to comment.