Bug 687388 - Disable test_visualstudio.py due to failures in automation; r=me
authorGregory Szorc <gps@mozilla.com>
Tue, 18 Feb 2014 12:48:23 -0800
changeset 169746 33d272d4ad6c05c565b4d0f0225753a11729f42b
parent 169745 85f8176a2cb70ae49180c3838c9b4d6e15a8fe8f
child 169747 6fc2f69df1ee357395d04797c3ddb90c08d67dd0
child 169800 f4f3d86162a536c935b048eb85a49d4d60f4ae28
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersme
bugs687388
milestone30.0a1
Bug 687388 - Disable test_visualstudio.py due to failures in automation; r=me It looks like builders are inconsistently configured. Some have objdirs on different drives from source dirs. This is confusing the test because of a relpath issue.
python/mozbuild/mozbuild/test/backend/test_visualstudio.py
--- a/python/mozbuild/mozbuild/test/backend/test_visualstudio.py
+++ b/python/mozbuild/mozbuild/test/backend/test_visualstudio.py
@@ -1,24 +1,26 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 from __future__ import unicode_literals
 
 from xml.dom.minidom import parse
 import os
+import unittest
 
 from mozbuild.backend.visualstudio import VisualStudioBackend
 from mozbuild.test.backend.common import BackendTester
 
 from mozunit import main
 
 
 class TestVisualStudioBackend(BackendTester):
+    @unittest.skip('Failing inconsistently in automation.')
     def test_basic(self):
         """Ensure we can consume our stub project."""
 
         env = self._consume('visual-studio', VisualStudioBackend)
 
         msvc = os.path.join(env.topobjdir, 'msvc')
         self.assertTrue(os.path.isdir(msvc))