mirror of
https://github.com/carp-lang/Carp.git
synced 2024-10-11 12:37:32 +03:00
74ab9e44e8
rather than relying on stack install and ~/.local/bin being in path
11 lines
233 B
Bash
Executable File
11 lines
233 B
Bash
Executable File
#!/bin/sh
|
|
|
|
stack exec carp -- $1 --log-memory -x > test/output/$1.output.actual 2>&1
|
|
|
|
if ! diff test/output/$1.output.actual test/output/$1.output.expected; then
|
|
echo "$1 failed."
|
|
exit 1
|
|
else
|
|
rm test/output/$1.output.actual
|
|
fi
|