summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authoranatoly techtonik <techtonik@gmail.com>2014-03-06 12:35:56 (GMT)
committeranatoly techtonik <techtonik@gmail.com>2014-03-06 12:35:56 (GMT)
commit7a7fe24a9bdc1089024ac889697b0e65d8426348 (patch)
tree668d79c6e8f865d82a6c6fee1521b1d9cddab974 /runtest.py
parent1a40dd7214e1e243ade7796de7eeb5a8ab97437d (diff)
downloadSCons-7a7fe24a9bdc1089024ac889697b0e65d8426348.zip
SCons-7a7fe24a9bdc1089024ac889697b0e65d8426348.tar.gz
SCons-7a7fe24a9bdc1089024ac889697b0e65d8426348.tar.bz2
runtest.py: Rewrite module description
Diffstat (limited to 'runtest.py')
-rwxr-xr-xruntest.py17
1 files changed, 8 insertions, 9 deletions
diff --git a/runtest.py b/runtest.py
index 2b7f7ce..a5c55fa 100755
--- a/runtest.py
+++ b/runtest.py
@@ -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,
#