Skip to content

Commit

Permalink
tests/ubuntu_drivers.py: Allow test_system_driver_packages_performanc…
Browse files Browse the repository at this point in the history
…e() 90s on ARM

30s is not enough on slow buildds.
  • Loading branch information
martinpitt committed Apr 12, 2016
1 parent 49005fb commit 307b129
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions debian/changelog
@@ -1,3 +1,10 @@
ubuntu-drivers-common (1:0.4.17) UNRELEASED; urgency=medium

* tests/ubuntu_drivers.py: Allow test_system_driver_packages_performance()
90s on ARM, as 30s is not enough on slow buildds.

-- Martin Pitt <martin.pitt@ubuntu.com> Tue, 12 Apr 2016 11:02:26 +0200

ubuntu-drivers-common (1:0.4.16) xenial; urgency=medium

* debian/tests/system: Drop test_fglrx() as the fglrx driver is gone.
Expand Down
5 changes: 4 additions & 1 deletion tests/ubuntu_drivers.py
Expand Up @@ -349,7 +349,10 @@ def test_system_driver_packages_performance(self):

sec = (stop.ru_utime + stop.ru_stime) - (start.ru_utime + start.ru_stime)
sys.stderr.write('[%.2f s] ' % sec)
self.assertLess(sec, 30.0)
if 'arm' in os.uname().machine:
self.assertLess(sec, 90.0)
else:
self.assertLess(sec, 30.0)

def test_system_driver_packages_chroot(self):
'''system_driver_packages() for test package repository'''
Expand Down

0 comments on commit 307b129

Please sign in to comment.