Raymond Toy pushed to branch issue-363-add-version-number at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • bin/run-unit-tests.sh
    ... ... @@ -49,6 +49,13 @@ function cleanup {
    49 49
     
    
    50 50
     trap cleanup EXIT
    
    51 51
     
    
    52
    +set -x
    
    53
    +if [ -n "${TESTDIR}" ]; then
    
    54
    +    TESTDIRARG=" :test-directory \"${TESTDIR}/\""
    
    55
    +else
    
    56
    +    TESTDIR="tests/"
    
    57
    +    TESTDIRARG=""
    
    58
    +fi
    
    52 59
     # Compile up the C file that is used for testing alien funcalls to
    
    53 60
     # functions that return integer types of different lengths.  We use
    
    54 61
     # gcc since clang isn't always available.
    
    ... ... @@ -56,12 +63,6 @@ trap cleanup EXIT
    56 63
     
    
    57 64
     if [ $# -eq 0 ]; then
    
    58 65
         # Test directory arg for run-all-tests if a non-default 
    
    59
    -    if [ -n ${TESTDIR} ]; then
    
    60
    -	TESTDIRARG=" :test-directory \"${TESTDIR}/\""
    
    61
    -    else
    
    62
    -	TESTDIR="tests/"
    
    63
    -	TESTDIRARG=""
    
    64
    -    fi
    
    65 66
         # No args so run all the tests
    
    66 67
         $LISP -nositeinit -noinit -load $TESTDIR/run-tests.lisp -eval "(cmucl-test-runner:run-all-tests ${TESTDIRARG})"
    
    67 68
     else