summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-11-04 23:01:27 (GMT)
committerSteven Knight <knight@baldmt.com>2002-11-04 23:01:27 (GMT)
commit487e0e7e93e26700e80a54f1ae46cf7f780ee34c (patch)
treeb78016fb847bb18a0b19c501edb145c360fbcc6b /config
parent8610c9b8c655e5749899be1a9664af2ed6f87a5e (diff)
downloadSCons-487e0e7e93e26700e80a54f1ae46cf7f780ee34c.zip
SCons-487e0e7e93e26700e80a54f1ae46cf7f780ee34c.tar.gz
SCons-487e0e7e93e26700e80a54f1ae46cf7f780ee34c.tar.bz2
Add a function to choose content signature type. (Anthony Roach)
Diffstat (limited to 'config')
-rw-r--r--config16
1 files changed, 11 insertions, 5 deletions
diff --git a/config b/config
index 28215e7..fc04c4b 100644
--- a/config
+++ b/config
@@ -234,14 +234,20 @@ diff_command =
test $? -le 1";
/*
- * We use an intermediary test.pl script to execute tests.
- * This serves as glue between the tests themselves (which are
- * written to conform to Perl conventions) and Aegis' expectations.
- * See the comments in the test.pl script itself for details.
+ * We use a runtest.pl script to execute tests. This takes care of
+ * massaging environment variables and the like to test agains the
+ * unpacked package in the current directory.
+ *
+ * Note that we must include $spe in the batch_test_command line (so
+ * that Aegis thinks we're smart about testing ourselves against the
+ * baseline) but we don't actually need it. Our tests always run
+ * relative to the package built under the current directory, which
+ * is set appropriately during a baseline test. So we just use the
+ * proper aesub variable to comment out the expanded $spe.
*/
test_command = "python ${Source runtest.py Absolute} -p tar-gz -q ${File_Name}";
-batch_test_command = "python ${Source runtest.py Absolute} -p tar-gz -o ${Output} ${File_Names}";
+batch_test_command = "python ${Source runtest.py Absolute} -p tar-gz -o ${Output} ${File_Names} ${COMment $spe}";
new_test_filename = "test/CHANGETHIS.py";