diff options
| author | Xavier-Do <xdo@odoo.com> | 2019-07-09 15:35:52 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2019-07-12 08:45:04 +0000 |
| commit | fa45f88726066b62dfbb45964e4f87bcb6c193f9 (patch) | |
| tree | 88ee205436743e221953ebbf0d2d516a667b3bef /addons/web/static/src | |
| parent | 5528e8cc7045a00a01f400660cdd34225232cf7d (diff) | |
[FIX] core: avoid writting sources during tests
Future runbot improvement may share sources between build,
meaning that sources will be readonly to avoid any interaction.
_touch() was supposed to handle ro filesystem but
f7130556 introduced a new test that was not working
in this case.
Instead of trying to touch file and pseudomocking the result
if the filesystem is readonly, this commit add a real patch
on getmtime.
cherry-pick of b295723c999
closes odoo/odoo#34816
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
