Commit c1cfaaef authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Tweak testables variable build

parent c369d265
Loading
Loading
Loading
Loading
+16 −14
Original line number Diff line number Diff line
@@ -60,10 +60,11 @@ ${py_exe} setup.py install

TESTABLES=""
if [ -d test ]; then
  TESTABLES="$TESTABLES test"
fi
  cd test

  TESTABLES="$TESTABLES ."

rst_files=(doc/*.rst)
  rst_files=(../doc/*.rst)

  if [ -e "${rst_files[0]}" ]; then
    TESTABLES="$TESTABLES $rst_files"
@@ -81,3 +82,4 @@ if ! test -z "$TESTABLES"; then
    ulimit -c unlimited
    PYOPENCL_TEST=${cl_dev_real} ${py_exe} -m pytest --junitxml=pytest.xml $TESTABLES
  fi
fi