2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

test: relax RTIO counter test and print result

This commit is contained in:
Sebastien Bourdeauducq 2018-01-24 10:07:22 +08:00
parent ed0fbd5662
commit 77f90cf93b

View File

@ -371,8 +371,9 @@ class CoredeviceTest(ExperimentCase):
def test_rtio_counter(self):
self.execute(RTIOCounter)
dt = self.dataset_mgr.get("dt")
print(dt)
self.assertGreater(dt, 50*ns)
self.assertLess(dt, 200*ns)
self.assertLess(dt, 1*us)
def test_loopback(self):
self.execute(Loopback)