-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
executable file
·34 lines (26 loc) · 871 Bytes
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
if [ ! x`command -v python2` = x ]; then
APPLIANCES="$APPLIANCES tests/appliances/castile.py2.md"
fi
if [ ! x`command -v python3` = x ]; then
APPLIANCES="$APPLIANCES tests/appliances/castile.py3.md"
fi
if [ ! x`command -v node` = x ]; then
APPLIANCES="$APPLIANCES tests/appliances/castile-c-javascript.md"
fi
if [ ! x`command -v ruby` = x ]; then
APPLIANCES="$APPLIANCES tests/appliances/castile-c-ruby.md"
fi
if [ -e bin/stackmac ]; then
APPLIANCES="$APPLIANCES tests/appliances/castile-c-stackmac.md"
fi
if [ ! x`command -v gcc` = x ]; then
APPLIANCES="$APPLIANCES tests/appliances/castile-c-c.md"
fi
#APPLIANCES="tests/appliances/castile.py3.md"
#APPLIANCES="tests/appliances/castile-c-c.md"
#APPLIANCES="tests/appliances/castile-c-javascript.md"
falderal $APPLIANCES tests/Castile.md
RESULT=$?
rm -f foo.* a.out
exit $RESULT