Source

hachoir / test_code.sh

Full commit
jm 1c54e42 






haypo a69c9cf 

Victor Stinner 9f8d5e3 
Victor Stinner 426aec2 
haypo a69c9cf 

haypo 6652d35 
haypo a69c9cf 

jm 1c54e42 
haypo a69c9cf 

jm 1c54e42 
haypo a69c9cf 

haypo f66f0be 


jm 1c54e42 
haypo b675f4b 

#!/bin/sh

set -e

[ "$PYTHON"   ] || PYTHON=python
[ "$TESTCASE" ] || TESTCASE=~/testcase/

ROOT=$(cd $(dirname $0); pwd)

. $ROOT/setupenv.sh

echo "=== hachoir-core: test doc ==="
cd $ROOT/hachoir-core
$PYTHON test_doc.py

echo "=== download and check testcase ==="
$PYTHON $ROOT/hachoir-parser/tests/download_testcase.py $TESTCASE

echo "=== hachoir-parser: testcase ==="
$PYTHON $ROOT/hachoir-parser/tests/run_testcase.py $TESTCASE

echo "=== hachoir-metadata: testcase ==="
$PYTHON $ROOT/hachoir-metadata/test_doc.py

echo "=== hachoir-metadata: testcase ==="
$PYTHON $ROOT/hachoir-metadata/run_testcase.py $TESTCASE

echo "=== hachoir-regex: tests ==="
$PYTHON $ROOT/hachoir-regex/test_doc.py