Klaus Demo ~jonashaag/klaus / 0.9.0 runtests.sh
0.9.0

Tree @0.9.0 (Download .tar.gz)

runtests.sh @0.9.0raw · history · blame

#!/bin/sh -e
( cd tests/repos/
  rm -rf build
  for maker in scripts/*; do
    builddir="build/`basename $maker`"
    mkdir -p $builddir
    ( cd $builddir; ../../$maker )
  done
)

tests="$1"
if [ -z "$tests" ]; then
  tests="tests/"
fi

PYTHONPATH=tests py.test $tests -v