diff options
author | anatoly techtonik <techtonik@gmail.com> | 2014-03-06 12:35:56 (GMT) |
---|---|---|
committer | anatoly techtonik <techtonik@gmail.com> | 2014-03-06 12:35:56 (GMT) |
commit | 7a7fe24a9bdc1089024ac889697b0e65d8426348 (patch) | |
tree | 668d79c6e8f865d82a6c6fee1521b1d9cddab974 /runtest.py | |
parent | 1a40dd7214e1e243ade7796de7eeb5a8ab97437d (diff) | |
download | SCons-7a7fe24a9bdc1089024ac889697b0e65d8426348.zip SCons-7a7fe24a9bdc1089024ac889697b0e65d8426348.tar.gz SCons-7a7fe24a9bdc1089024ac889697b0e65d8426348.tar.bz2 |
runtest.py: Rewrite module description
Diffstat (limited to 'runtest.py')
-rwxr-xr-x | runtest.py | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -4,18 +4,17 @@ # # runtest.py - wrapper script for running SCons tests # -# This script mainly exists to set PYTHONPATH to the right list of -# directories to test the SCons modules. +# SCons test suite consists of: # -# By default, it directly uses the modules in the local tree: -# ./src/ (source files we ship) and ./QMTest/ (other modules we don't). +# - unit tests - included in *Tests.py files from src/ dir +# - module tests - are in test/ dir and use framework from QMTest/ # -# When any -p option is specified, this script assumes it's in a -# directory in which a build has been performed, and sets PYTHONPATH -# so that it *only* references the modules that have unpacked from -# the specified built package, to test whether the packages are good. +# This script adds src/ and QMTest/ directories to PYTHONPATH, +# performs test discovery and processes them according to options. # -# Options: +# With -p (--package) option, script tests specified package from +# build directory and sets PYTHONPATH to reference modules unpacked +# during build process for testing purposes (build/test-*). # # -3 Run with the python -3 option, # |