Changeset 13337 in project for chicken/trunk/tests/runtests.sh


Ignore:
Timestamp:
02/18/09 13:15:54 (12 years ago)
Author:
felix winkelmann
Message:

mingw/msys fix for test suite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/tests/runtests.sh

    r13150 r13337  
    66export DYLD_LIBRARY_PATH=${TEST_DIR}/..
    77export LD_LIBRARY_PATH=${TEST_DIR}/..
    8 compile="../csc -compiler ../chicken -v -I.. -L.. -include-path .. -o a.out"
    9 compile_s="../csc -s -compiler ../chicken -v -I.. -L.. -include-path .."
     8
     9CHICKEN=../chicken
     10
     11if test "$MSYSTEM" == "MINGW32"; then
     12    CHICKEN="..\\chicken"
     13fi
     14
     15compile="../csc -compiler $CHICKEN -v -I.. -L.. -include-path .. -o a.out"
     16compile_s="../csc -s -compiler $CHICKEN -v -I.. -L.. -include-path .."
    1017interpret="../csi -n -include-path .."
    1118
     
    101108$interpret -e '(set! ##sys#procedure->string (constantly "#<procedure>"))' \
    102109  -i -s r4rstest.scm >r4rstest.log
    103 diff -u r4rstest.out r4rstest.log
     110diff -bu r4rstest.out r4rstest.log || true
    104111
    105112echo "======================================== finalizer tests ..."
     
    126133        *)
    127134            echo $x
    128             ../csc $x -compiler ../chicken -C -I.. -L.. -O2 -d0
     135            ../csc $x -compiler $CHICKEN -C -I.. -L.. -O2 -d0
    129136            ./`basename $x .scm`;;
    130137    esac
Note: See TracChangeset for help on using the changeset viewer.