summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-01-08 20:20:03 (GMT)
committerSteven Knight <knight@baldmt.com>2005-01-08 20:20:03 (GMT)
commitbda38f38df437d06ae2402869b9424a4b0bfa817 (patch)
treee473a43695378989d20058ce69b0c0b7d855a712 /test
parent67f1f25904bcb110548e53e8c764a72b269f8886 (diff)
downloadSCons-bda38f38df437d06ae2402869b9424a4b0bfa817.zip
SCons-bda38f38df437d06ae2402869b9424a4b0bfa817.tar.gz
SCons-bda38f38df437d06ae2402869b9424a4b0bfa817.tar.bz2
Remove build engine dependencies on SCons.Script. Fix a misspelled variable name.
Diffstat (limited to 'test')
-rw-r--r--test/Configure.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Configure.py b/test/Configure.py
index 2309904..715219e 100644
--- a/test/Configure.py
+++ b/test/Configure.py
@@ -85,6 +85,10 @@ def checklib(lang, name, up_to_date):
elif lang == 'C++':
return (".cc", _obj, _exe)
+class NoMatch:
+ def __init__(self, p):
+ self.pos = p
+
NCR = 0 # non-cached rebuild
CR = 1 # cached rebuild (up to date)
NCF = 2 # non-cached build failure
@@ -93,10 +97,6 @@ CF = 3 # cached build failure
def checkLogAndStdout(checks, results, cached,
test, logfile, sconf_dir, sconstruct,
doCheckLog=1, doCheckStdout=1):
- class NoMatch:
- def __init__(self, p):
- self.pos = p
-
def matchPart(log, logfile, lastEnd):
m = re.match(log, logfile[lastEnd:])
if not m: