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

Tree @0.9.0 (Download .tar.gz)

runtests.sh @0.9.0

0f1b01b
 
 
 
 
 
 
 
a6e3660
 
9caa1dd
 
 
 
 
bcd646f
#!/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