Add Glulxe and Git. They compile but don't work yet.
[projects/chimara/chimara.git] / interpreters / git / test / test.sh
1 #!/bin/sh
2
3 TEST_DIR=`dirname $0`
4
5 echo "Running Alabaster.glorb..."
6 ${TEST_DIR}/../git ${TEST_DIR}/Alabaster.gblorb \
7     < ${TEST_DIR}/Alabaster.walk > ${TEST_DIR}/Alabaster.tmp
8
9 echo "Comparing output against Alabaster.golden..."
10 if diff -q ${TEST_DIR}/Alabaster.tmp ${TEST_DIR}/Alabaster.golden; then
11   echo "TEST PASSED"
12 else
13   echo
14   echo "*** TEST FAILED ***"
15   echo
16   echo "The Alabaster walkthrough is not producing the same output as before."
17   echo "Please check Alabaster.tmp manually."
18 fi