mirror of
https://github.com/zap-proto/erlang.git
synced 2026-10-30 15:05:14 +00:00
15 lines
327 B
Bash
Executable File
15 lines
327 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# The tmpfile hack is to avoid using stdin from erlang
|
|
# as that is seriously bugged on windows
|
|
|
|
case $1 in
|
|
decode*)
|
|
tmpfile=`mktemp ecapnp_test.XXXXXXXXXX`
|
|
cat > $tmpfile && ${0%/*}/run_test $tmpfile $*
|
|
ret=$?
|
|
rm $tmpfile
|
|
exit $ret;;
|
|
*) ${0%/*}/run_test $* ;;
|
|
esac
|