This may be how we arrange this, going forward. Or maybe not.
Chris Pressey
6 years ago
0 | |
#!/bin/sh
|
1 | |
|
2 | |
THIS=`realpath $0`
|
3 | |
DIR=`dirname $THIS`/../src
|
4 | |
runhugs $DIR/Main.hs $*
|
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
THIS=`realpath $0`
|
|
3 |
DIR=`dirname $THIS`/../src
|
|
4 |
( runhaskell -i$DIR $DIR/Main.hs $* )
|
3 | 3 |
if [ -x bin/qlzqqlzuup ]; then
|
4 | 4 |
APPLIANCES="$APPLIANCES tests/appliances/qlzqqlzuup.md"
|
5 | 5 |
fi
|
6 | |
if command -v runhugs >/dev/null 2>&1; then
|
7 | |
APPLIANCES="$APPLIANCES tests/appliances/qlzqqlzuup_hugs.md"
|
|
6 |
if command -v runhaskell >/dev/null 2>&1; then
|
|
7 |
APPLIANCES="$APPLIANCES tests/appliances/qlzqqlzuup_runhaskell.md"
|
8 | 8 |
fi
|
9 | 9 |
if [ "${APPLIANCES}x" = x ]; then
|
10 | |
echo "Neither bin/qlzqqlzuup executable nor runhugs found on search path."
|
|
10 |
echo "Neither bin/qlzqqlzuup executable nor runhaskell found on search path."
|
11 | 11 |
exit 1
|
12 | 12 |
fi
|
13 | 13 |
falderal $APPLIANCES tests/Quylthulg.markdown
|
tests/appliances/qlzqqlzuup_hugs.md
less
more
0 | |
-> Functionality "Interpret Quylthulg Program" is implemented by
|
1 | |
-> shell command
|
2 | |
-> "bin/qlzqqlzuup_hugs %(test-body-file)"
|
3 | |
|
4 | |
-> Functionality "Interpret Quylthulg Program" is implemented by
|
5 | |
-> shell command
|
6 | |
-> "bin/qlzqqlzuup_hugs -m %(test-body-file)"
|
|
0 |
-> Functionality "Interpret Quylthulg Program" is implemented by
|
|
1 |
-> shell command
|
|
2 |
-> "bin/qlzqqlzuup_runhaskell %(test-body-file)"
|
|
3 |
|
|
4 |
-> Functionality "Interpret Quylthulg Program" is implemented by
|
|
5 |
-> shell command
|
|
6 |
-> "bin/qlzqqlzuup_runhaskell -m %(test-body-file)"
|