diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-04-17 14:37:19 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-04-17 16:01:57 -0700 |
commit | 790826272861bd3eca2d149ac7b2b95fcbec6e09 (patch) | |
tree | e596f63c00dacadf6d5f3eb7f872fb552e0e354c | |
parent | a72b7952abe7f3d8d8755f9e33175dd2ce961650 (diff) |
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.
-rwxr-xr-x | tests/test-one.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test-one.sh b/tests/test-one.sh index 6475df7f..d1950eb9 100755 --- a/tests/test-one.sh +++ b/tests/test-one.sh @@ -31,6 +31,14 @@ TEST_BINDINGS_BINARY=$(mktemp -t bindings.XXXXX) dot -Tpng ir.dot -o ir.png +echo "=== Input header ========================================================" +cat "$TEST" + +echo "=== Generated bindings ==================================================" +cat "$BINDINGS" + +echo "=== Building bindings ===================================================" rustc --test -o "$TEST_BINDINGS_BINARY" "$BINDINGS" +echo "=== Testing bindings ====================================================" "$TEST_BINDINGS_BINARY" |