#!/bin/bash

set -e
errors=0

TOP_DIR=`pwd`
cd haskell 

# Run unit tests
runhaskell -isrc -itest test/Test.hs > /dev/null 2>&1 || {
    echo "'python biotool_test.py' failed"
    let errors+=1
}

[ "$errors" -gt 0 ] && {
    echo "There were $errors errors found"
    exit 1
}

echo "Ok : Haskell specific tests"

#!/bin/bash

set -e
errors=0

TOP_DIR=`pwd`
cd haskell 

# Run unit tests
#runhaskell -isrc -itest test/Test.hs > /dev/null 2>&1 || {
runhaskell -isrc -itest test/Test.hs || {
    echo "'runhaskell -isrc -itest test/Test.hs' failed"
    let errors+=1
}

[ "$errors" -gt 0 ] && {
    echo "There were $errors errors found"
    exit 1
}

echo "Ok : Haskell specific tests"

Make Haskell test case output appear on stdout
Make Haskell test case output appear on stdout
