Skip to content

Commit 7908262

Browse files
committed
Add more diagnostic output to the test-one.sh script
This commit makes the test-one.sh script log the input header as well as the emitted bindings to stdout.
1 parent a72b795 commit 7908262

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/test-one.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ TEST_BINDINGS_BINARY=$(mktemp -t bindings.XXXXX)
3131

3232
dot -Tpng ir.dot -o ir.png
3333

34+
echo "=== Input header ========================================================"
35+
cat "$TEST"
36+
37+
echo "=== Generated bindings =================================================="
38+
cat "$BINDINGS"
39+
40+
echo "=== Building bindings ==================================================="
3441
rustc --test -o "$TEST_BINDINGS_BINARY" "$BINDINGS"
3542

43+
echo "=== Testing bindings ===================================================="
3644
"$TEST_BINDINGS_BINARY"

0 commit comments

Comments
 (0)