Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Bug 559890 - Run build-tools tests on checkin. test_clobberer.py shou…
Browse files Browse the repository at this point in the history
…ld accept clobberURL and dbFile parameters. r=catlee

--HG--
extra : rebase_source : e43d4c16c17d1819403b7860903ea8567ae76932
  • Loading branch information
Rail Aliev committed Dec 2, 2010
1 parent 4e88277 commit 4c63112
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion clobberer/test_clobberer.py
Expand Up @@ -372,5 +372,13 @@ def testReleaseClobberPrefixBuilder(self):
self.assert_('release-mozilla-central-linux_build' in data, data)

if __name__ == '__main__':
import unittest
import unittest, sys
if len(sys.argv) == 3:
clobberURL = sys.argv[1]
dbFile = sys.argv[2]
del sys.argv[2]
del sys.argv[1]
elif len(sys.argv) > 1:
print "Usage: %s [clobberURL dbFile]" % sys.argv[0]
sys.exit(1)
unittest.main()

0 comments on commit 4c63112

Please sign in to comment.