Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sequencer-2-2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
epics-modules
sequencer-2-2
Commits
9c74b92c
Commit
9c74b92c
authored
11 years ago
by
benjamin.franksen
Browse files
Options
Downloads
Patches
Plain Diff
test: turned stop.st into a regression test
parent
3a384f4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/validate/Makefile
+1
-1
1 addition, 1 deletion
test/validate/Makefile
test/validate/stop.st
+21
-3
21 additions, 3 deletions
test/validate/stop.st
with
22 additions
and
4 deletions
test/validate/Makefile
+
1
−
1
View file @
9c74b92c
...
@@ -21,7 +21,6 @@ TESTPROD_HOST += entryOpte
...
@@ -21,7 +21,6 @@ TESTPROD_HOST += entryOpte
TESTPROD_HOST
+=
entryVar
TESTPROD_HOST
+=
entryVar
TESTPROD_HOST
+=
exitOptx
TESTPROD_HOST
+=
exitOptx
TESTPROD_HOST
+=
optt
TESTPROD_HOST
+=
optt
TESTPROD_HOST
+=
stop
TESTPROD_HOST
+=
syncq
TESTPROD_HOST
+=
syncq
REGRESSION_TESTS_WITH_DB
+=
bittypes
REGRESSION_TESTS_WITH_DB
+=
bittypes
...
@@ -51,6 +50,7 @@ REGRESSION_TESTS_WITHOUT_DB += pvSync
...
@@ -51,6 +50,7 @@ REGRESSION_TESTS_WITHOUT_DB += pvSync
REGRESSION_TESTS_WITHOUT_DB
+=
safeModeNotAssigned
REGRESSION_TESTS_WITHOUT_DB
+=
safeModeNotAssigned
REGRESSION_TESTS_WITHOUT_DB
+=
safeMonitor
REGRESSION_TESTS_WITHOUT_DB
+=
safeMonitor
REGRESSION_TESTS_WITHOUT_DB
+=
sizeof
REGRESSION_TESTS_WITHOUT_DB
+=
sizeof
REGRESSION_TESTS_WITHOUT_DB
+=
stop
REGRESSION_TESTS_WITHOUT_DB
+=
userfunc
REGRESSION_TESTS_WITHOUT_DB
+=
userfunc
REGRESSION_TESTS_WITHOUT_DB
+=
userfuncEf
REGRESSION_TESTS_WITHOUT_DB
+=
userfuncEf
REGRESSION_TESTS_WITHOUT_DB
+=
void
REGRESSION_TESTS_WITHOUT_DB
+=
void
...
...
This diff is collapsed.
Click to expand it.
test/validate/stop.st
+
21
−
3
View file @
9c74b92c
...
@@ -6,18 +6,36 @@ in the file LICENSE that is included with this distribution.
...
@@ -6,18 +6,36 @@ in the file LICENSE that is included with this distribution.
\*************************************************************************/
\*************************************************************************/
program
stopTest
program
stopTest
%%
#include
<
stdlib
.
h
>
%%
#include
"../testSupport.h"
entry
{
seq_test_init
(
1
);
}
ss
main
{
ss
main
{
state
start
{
state
start
{
when
(
delay
(
5
))
{
when
(
delay
(
0.
5
))
{
seqStop
(
epicsThreadGetIdSelf
());
seqStop
(
epicsThreadGetIdSelf
());
}
state
start
}
state
final
}
state
final
{
when
(
FALSE
)
{
}
state
final
/*
dummy
*/
}
}
}
}
ss
progress
{
ss
progress
{
state
running
{
state
running
{
when
(
delay
(
1
))
{
when
(
delay
(
1
))
{
printf
(
"still running...\n"
);
testFail
(
"still running...\n"
);
seq_test_done
();
exit
(
0
);
}
state
running
}
state
running
}
}
}
}
exit
{
testPass
(
"program terminated"
);
seq_test_done
();
}
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