Idris2-boot/libs/network/lib-tests
Edwin Brady f123fcaf84 Display output on network test fail
This still seems to be failing on travis, so let's see what it looks
like!
2019-08-29 12:56:13 +01:00

12 lines
218 B
Bash
Executable File

#!/bin/sh
${IDRIS2} --exec main Echo.idr > build/output
if ! [ -z "$(diff build/output expected)" ]; then
echo "TEST FAILURE: unexpected build/output: "
cat build/output
exit 2
else
echo "TEST SUCCESS"
fi