summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2006-02-12 13:03:27 (GMT)
committerSteven Knight <knight@baldmt.com>2006-02-12 13:03:27 (GMT)
commit8cddc4743be562bac3851eea6aa5b26a3c5370cd (patch)
tree0eed265a22c740b420618e119f47d84a22011da7 /test
parente7bff6aa5ee0f0cbb687ba67cdbc7d696657638c (diff)
downloadSCons-8cddc4743be562bac3851eea6aa5b26a3c5370cd.zip
SCons-8cddc4743be562bac3851eea6aa5b26a3c5370cd.tar.gz
SCons-8cddc4743be562bac3851eea6aa5b26a3c5370cd.tar.bz2
Support the --debug=memory option on Windows. (Baptiste Lepilleur)
Diffstat (limited to 'test')
-rw-r--r--test/option/debug-memory.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/option/debug-memory.py b/test/option/debug-memory.py
index 0a2875f..9ed674e 100644
--- a/test/option/debug-memory.py
+++ b/test/option/debug-memory.py
@@ -39,8 +39,12 @@ test = TestSCons.TestSCons()
try:
import resource
except ImportError:
- x = "Python version has no 'resource' module; skipping tests.\n"
- test.skip_test(x)
+ try:
+ import win32process
+ import win32api
+ except ImportError:
+ x = "Python version has no 'resource' or 'win32api/win32process' module; skipping tests.\n"
+ test.skip_test(x)