File: testall

package info (click to toggle)
pyxb 1.2.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 63,792 kB
  • ctags: 48,994
  • sloc: python: 235,928; sh: 803; xml: 657; makefile: 57
file content (16 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if test "${PYXB_ROOT}" ; then
  export PATH=${PATH}:${PYXB_ROOT}/scripts
fi

( find . -name '*.pyc' ;
  find . -name '*.pyo' ) \
| xargs rm -f
python --version
python setup.py test && \
  find . -name test.sh \
    | while read TEST_PATH ; do
      dir=`dirname ${TEST_PATH}`
      echo "Running ${TEST_PATH}" 
      (cd ${dir} && ./test.sh >test.log 2>&1 ) || (echo "FAILED: ${TEST_PATH} (see test.log there)" ;  exit 1 )
      echo "Passed ${TEST_PATH}"
    done