summaryrefslogtreecommitdiff
path: root/test/MSVS
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2012-08-22 03:48:10 +0100
committerGary Oberbrunner <garyo@oberbrunner.com>2012-08-22 03:48:10 +0100
commitff9c18837f526dd2bb5489e15ecd5c09f3ed416f (patch)
tree160415b02df16039ce932ce0b1355c02645b4d57 /test/MSVS
parenteb3696c55447d045de8a6e54ad5789c1c084a30b (diff)
downloadscons-ff9c18837f526dd2bb5489e15ecd5c09f3ed416f.tar.gz
Fixed test rot in test/MSVS/CPPPATH-Dirs.py.
Visual Studio now creates .vcxproj rather than .vcproj. Made the test allow either one's existence to succeed.
Diffstat (limited to 'test/MSVS')
-rw-r--r--test/MSVS/CPPPATH-Dirs.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/MSVS/CPPPATH-Dirs.py b/test/MSVS/CPPPATH-Dirs.py
index d1c24e32..fad25075 100644
--- a/test/MSVS/CPPPATH-Dirs.py
+++ b/test/MSVS/CPPPATH-Dirs.py
@@ -71,7 +71,9 @@ int main() {
test.run()
-test.must_exist(test.workpath('Hello.vcproj'))
+if not os.path.exists(test.workpath('Hello.vcproj')) and \
+ not os.path.exists(test.workpath('Hello.vcxproj')):
+ test.fail_test("Failed to create Visual Studio project Hello.vcproj or Hello.vcxproj")
test.must_exist(test.workpath('Hello.sln'))
# vcproj = test.read('Test.vcproj', 'r')