Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scdaq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
scouting-demonstrator
scdaq
Commits
7e0df24f
Commit
7e0df24f
authored
2 years ago
by
Dinyar Rabady
Browse files
Options
Downloads
Patches
Plain Diff
Check if SCDAQ actually runs
Belongs to
#34
.
parent
5f00e8ec
No related branches found
No related tags found
No related merge requests found
Pipeline
#4700104
failed
2 years ago
Stage: build
Stage: run
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/runFileTest.sh
+14
-1
14 additions, 1 deletion
scripts/runFileTest.sh
with
14 additions
and
1 deletion
scripts/runFileTest.sh
+
14
−
1
View file @
7e0df24f
#!/bin/sh
#!/bin/
ba
sh
echo
"building scdaq locally"
echo
"building scdaq locally"
cd
src
cd
src
make all
make all
...
@@ -10,6 +10,19 @@ tar -xzvf gmt_testfile.tar.gz
...
@@ -10,6 +10,19 @@ tar -xzvf gmt_testfile.tar.gz
cd
../../
cd
../../
echo
"Starting scdaq test with GMT P5 capture file: check for crash"
echo
"Starting scdaq test with GMT P5 capture file: check for crash"
timeout
20s src/scdaq
--config
test
/config/scdaq-gmt.conf |
uniq
timeout
20s src/scdaq
--config
test
/config/scdaq-gmt.conf |
uniq
if
[[
$(
find
-name
"*scout_GMT*"
|
wc
-l
)
-eq
0
]]
;
then
echo
"SCDAQ test for GMT failed!"
GMT_FAILED
=
true
fi
echo
"Starting scdaq test with CALO P5 capture file: check for crash"
echo
"Starting scdaq test with CALO P5 capture file: check for crash"
timeout
100s src/scdaq
--config
test
/config/scdaq-calo.conf |
uniq
timeout
100s src/scdaq
--config
test
/config/scdaq-calo.conf |
uniq
if
[[
$(
find
-name
"*scout_CALO*"
|
wc
-l
)
-eq
0
]]
;
then
"SCDAQ test for CALO failed!"
CALO_FAILED
=
true
fi
if
[[
$GMT_FAILED
=
true
||
$CALO_FAILED
=
true
]]
;
then
exit
1
fi
echo
"test run finished"
echo
"test run finished"
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