mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-16 13:01:29 +00:00
test_autopkgtest.py: Simplify showing britney output
Show britney output if $SHOW_OUTPUT is set in the environment. This avoids having to modify the source and reverting it before committing.
This commit is contained in:
parent
967dc07c21
commit
7a3a6d7309
@ -90,9 +90,8 @@ echo "$@" >> /%s/adt-britney.log ''' % self.data.path)
|
|||||||
self.swift.stop()
|
self.swift.stop()
|
||||||
|
|
||||||
#print('-------\nexcuses: %s\n-----' % excuses)
|
#print('-------\nexcuses: %s\n-----' % excuses)
|
||||||
#print('-------\nout: %s\n-----' % out)
|
if 'SHOW_OUTPUT' in os.environ:
|
||||||
#print('run:\n%s -c %s\n' % (self.britney, self.britney_conf))
|
print('-------\nout: %s\n-----' % out)
|
||||||
#subprocess.call(['bash', '-i'], cwd=self.data.path)
|
|
||||||
if considered:
|
if considered:
|
||||||
self.assertIn('Valid candidate', excuses)
|
self.assertIn('Valid candidate', excuses)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user