From bc5b27c381326f7538053c6bdf090f712ab70c93 Mon Sep 17 00:00:00 2001 From: Gary Oberbrunner Date: Wed, 22 Aug 2012 03:48:10 +0100 Subject: 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. --- test/MSVS/CPPPATH-Dirs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/MSVS/CPPPATH-Dirs.py b/test/MSVS/CPPPATH-Dirs.py index d1c24e3..fad2507 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') -- cgit v0.12