diff options
Diffstat (limited to 'portage_with_autodep/pym/portage/tests/runTests')
-rwxr-xr-x | portage_with_autodep/pym/portage/tests/runTests | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/portage_with_autodep/pym/portage/tests/runTests b/portage_with_autodep/pym/portage/tests/runTests index 6b3311d..4c10087 100755 --- a/portage_with_autodep/pym/portage/tests/runTests +++ b/portage_with_autodep/pym/portage/tests/runTests @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python -Wd # runTests.py -- Portage Unit Test Functionality # Copyright 2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 @@ -41,6 +41,4 @@ del path if __name__ == "__main__": - result = tests.main() - if not result.wasSuccessful(): - sys.exit(1) + sys.exit(tests.main()) |