Commits

Gary Oberbrunner committed 51ccc2e Draft

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.

Comments (0)

Files changed (1)

test/MSVS/CPPPATH-Dirs.py

 
 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')