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

Add NO_DOCTESTS flag

parent c1cfaaef
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -64,11 +64,13 @@ if [ -d test ]; then

  TESTABLES="$TESTABLES ."

  if ! [ -z "$NO_DOCTESTS" ]; then
    rst_files=(../doc/*.rst)

    if [ -e "${rst_files[0]}" ]; then
      TESTABLES="$TESTABLES $rst_files"
    fi
  fi

  if ! test -z "$TESTABLES"; then
    if test "$cl_dev" != ""; then