mirror of
https://github.com/odoo/runbot.git
synced 2025-03-30 23:05:44 +07:00
[FIX] runbot: check support before adding auto-tags
This commit is contained in:
parent
0c4d78f497
commit
1e102b7d76
@ -334,6 +334,7 @@ class ConfigStep(models.Model):
|
|||||||
else:
|
else:
|
||||||
build._log('test_all', 'Test tags given but not supported')
|
build._log('test_all', 'Test tags given but not supported')
|
||||||
elif self.enable_auto_tags and self.test_enable:
|
elif self.enable_auto_tags and self.test_enable:
|
||||||
|
if grep(config_path, "test-tags"):
|
||||||
auto_tags = self.env['runbot.build.error'].disabling_tags()
|
auto_tags = self.env['runbot.build.error'].disabling_tags()
|
||||||
if auto_tags:
|
if auto_tags:
|
||||||
test_tags = ','.join(auto_tags)
|
test_tags = ','.join(auto_tags)
|
||||||
|
Loading…
Reference in New Issue
Block a user