Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bdaq53
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
silab
bdaq53
Commits
a9b0f054
Commit
a9b0f054
authored
4 years ago
by
DavidLP
Browse files
Options
Downloads
Patches
Plain Diff
ENH: speedup
parent
ca68f6d5
No related branches found
No related tags found
2 merge requests
!418
Release v1.5.0
,
!387
Increase scan testing coverage
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bdaq53/tests/test_software/scans/test_scans.py
+3
-3
3 additions, 3 deletions
bdaq53/tests/test_software/scans/test_scans.py
with
3 additions
and
3 deletions
bdaq53/tests/test_software/scans/test_scans.py
+
3
−
3
View file @
a9b0f054
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment