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)
commit3c23f9969cea7931a8dea998a33b15ab51fe1a5f (patch)
treee473a43695378989d20058ce69b0c0b7d855a712 /test
parenta30529bf7d9361a44490126666d0cc71d98410aa (diff)
downloadSCons-3c23f9969cea7931a8dea998a33b15ab51fe1a5f.zip
SCons-3c23f9969cea7931a8dea998a33b15ab51fe1a5f.tar.gz
SCons-3c23f9969cea7931a8dea998a33b15ab51fe1a5f.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: