Skip to content
Snippets Groups Projects
Commit a9b0f054 authored by DavidLP's avatar DavidLP
Browse files

ENH: speedup

parent ca68f6d5
No related branches found
No related tags found
2 merge requests!418Release v1.5.0,!387Increase scan testing coverage
......@@ -37,9 +37,6 @@ skip_scan = ['Eudaq', # needs special setup; tested on dedicated runner
]
rd53b_only = [
'DigitalScanPToT', # ptot is only available in rd53b
'AnalogScanPToT', # ptot is only available in rd53b
'ThresholdScanPToT' # ptot is only available in rd53b
]
# Skip analysis in scans analysis that need data and otherwise fails
......@@ -103,6 +100,9 @@ class TestScans(unittest.TestCase):
# Use hardware mocks to be able to test without hardware
cls.bhm = bdaq_mock.BdaqMock(n_chips=4)
# Speed up testing time drastically, by not calling mask shifting
cls.bhm.patch_function('bdaq53.chips.rd53a.RD53AMaskObject.update')
cls.bhm.patch_function('bdaq53.chips.ITkPixV1.ITkPixV1MaskObject.update')
cls.bhm.start()
# Load standard bench config to change in test cases
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment