diff options
author | Steven Knight <knight@baldmt.com> | 2006-02-12 13:03:27 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2006-02-12 13:03:27 (GMT) |
commit | 8cddc4743be562bac3851eea6aa5b26a3c5370cd (patch) | |
tree | 0eed265a22c740b420618e119f47d84a22011da7 /test | |
parent | e7bff6aa5ee0f0cbb687ba67cdbc7d696657638c (diff) | |
download | SCons-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.py | 8 |
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) |