mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-11 19:21:09 +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()
|
||||
|
||||
#print('-------\nexcuses: %s\n-----' % excuses)
|
||||
#print('-------\nout: %s\n-----' % out)
|
||||
#print('run:\n%s -c %s\n' % (self.britney, self.britney_conf))
|
||||
#subprocess.call(['bash', '-i'], cwd=self.data.path)
|
||||
if 'SHOW_OUTPUT' in os.environ:
|
||||
print('-------\nout: %s\n-----' % out)
|
||||
if considered:
|
||||
self.assertIn('Valid candidate', excuses)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user