Bug 863091 - Followup: Fix test to expect correct return code after clobber
authorEd Morley <emorley@mozilla.com>
Thu, 25 Apr 2013 14:43:53 +0100
changeset 129854 1264667a08548b68226470ac1765f21064d4731e
parent 129853 ba934ac9fc6bdb2e91882600ab2d2088cbdf096b
child 129855 93259cd4c674e582aa007c6ad5443eb842b30378
push id27052
push useremorley@mozilla.com
push dateThu, 25 Apr 2013 13:45:11 +0000
treeherdermozilla-inbound@1264667a0854 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs863091
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 863091 - Followup: Fix test to expect correct return code after clobber CLOSED TREE
python/mozbuild/mozbuild/test/controller/test_clobber.py
--- a/python/mozbuild/mozbuild/test/controller/test_clobber.py
+++ b/python/mozbuild/mozbuild/test/controller/test_clobber.py
@@ -199,15 +199,15 @@ class TestClobberer(unittest.TestCase):
         self.assertIn('Automatic clobbering is not enabled', s.getvalue())
         self.assertTrue(os.path.exists(dummy_file))
 
         # Check auto clobber opt-in works
         env['AUTOCLOBBER'] = '1'
 
         s = StringIO()
         status = clobber([topsrcdir, topobjdir], env, os.getcwd(), s)
-        self.assertEqual(status, 1)
+        self.assertEqual(status, 0)
         self.assertIn('Successfully completed auto clobber', s.getvalue())
         self.assertFalse(os.path.exists(dummy_file))
 
 
 if __name__ == '__main__':
     main()