mirror of
https://github.com/odoo/runbot.git
synced 2025-03-16 07:55:45 +07:00
[IMP] runbot: use the odoo screenshots args
Since odoo/0dc4a63e2 the screenshots arguments can be used to specify where to save sceenshots. With this commit, the argument is used if available.
This commit is contained in:
parent
13ca8b98cf
commit
857821e41a
@ -318,6 +318,9 @@ class ConfigStep(models.Model):
|
||||
else:
|
||||
build._log('test_all', 'Test tags given but not supported', level='WARNING')
|
||||
|
||||
if grep(config_path, "--screenshots"):
|
||||
cmd += ['--screenshots', '/data/build/tests']
|
||||
|
||||
cmd.append('--stop-after-init') # install job should always finish
|
||||
if '--log-level' not in extra_params:
|
||||
cmd.append('--log-level=test')
|
||||
|
Loading…
Reference in New Issue
Block a user