Skip to content
Snippets Groups Projects
Commit fbee1d9e authored by ben.franksen's avatar ben.franksen
Browse files

test: renamed some of the test programs

parent 41d83a29
No related branches found
No related tags found
No related merge requests found
...@@ -12,22 +12,23 @@ SNCFLAGS_vxWorks += -nil- ...@@ -12,22 +12,23 @@ SNCFLAGS_vxWorks += -nil-
# Sequence programs and/or object files to create # Sequence programs and/or object files to create
TESTPROD_HOST += decl TESTPROD_HOST += decl
TESTPROD_HOST += sncDelay TESTPROD_HOST += delay
TESTPROD_HOST += sncEntry TESTPROD_HOST += entry
TESTPROD_HOST += sncEntryOpte TESTPROD_HOST += entryOpte
TESTPROD_HOST += sncEntryVar TESTPROD_HOST += entryVar
TESTPROD_HOST += sncExitOptx TESTPROD_HOST += exitOptx
TESTPROD_HOST += sncOptt TESTPROD_HOST += optt
TESTPROD_HOST += stop TESTPROD_HOST += stop
TESTPROD_HOST += subscript TESTPROD_HOST += subscript
TESTPROD_HOST += syncq TESTPROD_HOST += syncq
REGRESSION_TESTS_WITH_DB += bittypes REGRESSION_TESTS_WITH_DB += bittypes
REGRESSION_TESTS_WITH_DB += evflag REGRESSION_TESTS_WITH_DB += evflag
REGRESSION_TESTS_WITH_DB += norace
REGRESSION_TESTS_WITH_DB += pvGet REGRESSION_TESTS_WITH_DB += pvGet
REGRESSION_TESTS_WITH_DB += pvPutAsync REGRESSION_TESTS_WITH_DB += pvPutAsync
REGRESSION_TESTS_WITH_DB += norace
# uncomment this test to see race # uncomment this test to see race
# fail (safe mode off) # fail (safe mode off)
#REGRESSION_TESTS_WITH_DB += race #REGRESSION_TESTS_WITH_DB += race
...@@ -38,7 +39,7 @@ REGRESSION_TESTS_WITHOUT_DB += change ...@@ -38,7 +39,7 @@ REGRESSION_TESTS_WITHOUT_DB += change
REGRESSION_TESTS_WITHOUT_DB += local REGRESSION_TESTS_WITHOUT_DB += local
REGRESSION_TESTS_WITHOUT_DB += pvSync REGRESSION_TESTS_WITHOUT_DB += pvSync
REGRESSION_TESTS_WITHOUT_DB += safeMonitor REGRESSION_TESTS_WITHOUT_DB += safeMonitor
REGRESSION_TESTS_WITHOUT_DB += sncOpttVar REGRESSION_TESTS_WITHOUT_DB += opttVar
REGRESSION_TESTS_WITHOUT_DB += userfunc REGRESSION_TESTS_WITHOUT_DB += userfunc
REGRESSION_TESTS += $(REGRESSION_TESTS_WITHOUT_DB) REGRESSION_TESTS += $(REGRESSION_TESTS_WITHOUT_DB)
......
program sncDelayTest program delayTest
/* snc test program to demonstrate delay and state transition without /* snc test program to demonstrate delay and state transition without
using external events. using external events.
*/ */
...@@ -9,9 +9,6 @@ option +s; ...@@ -9,9 +9,6 @@ option +s;
float v = 0; float v = 0;
assign v; assign v;
string msg;
assign msg;
ss test { ss test {
float thr = 5.0; float thr = 5.0;
float hyst = 0.45; float hyst = 0.45;
......
/* snc test program to test entry and exit condition execution. */ /* snc test program to test entry and exit condition execution. */
program sncEntryTest program entryTest
option +s; option +s;
......
program sncEntryOpteTest program entryOpteTest
/* snc test program to test entry and exit condition execution, with -e /* snc test program to test entry and exit condition execution, with -e
* option. Test -e, that entry will be executed on each iteration. * option. Test -e, that entry will be executed on each iteration.
*/ */
......
program sncEntryVarTest program entryVarTest
/* snc test program to test entry and exit condition execution, with CA /* snc test program to test entry and exit condition execution, with CA
* assignment and control of transition. * assignment and control of transition.
* In this case, CD01:FD:PERIOD has units "seconds", and lopr = 10, hopr = 360. * In this case, CD01:FD:PERIOD has units "seconds", and lopr = 10, hopr = 360.
......
program sncExitOptxTest program exitOptxTest
/* snc test program to test entry and exit condition execution, with -e /* snc test program to test entry and exit condition execution, with -e
* option. Test -e, that entry will be executed on each iteration. * option. Test -e, that entry will be executed on each iteration.
*/ */
......
program sncOpttTest program opttTest
/* snc test program to test state option -t, not to reset timers. /* snc test program to test state option -t, not to reset timers.
*/ */
......
program sncOpttVarTest program opttVarTest
%%#include "../testSupport.h" %%#include "../testSupport.h"
......
...@@ -14,13 +14,6 @@ monitor s1; ...@@ -14,13 +14,6 @@ monitor s1;
evflag ef_s1; evflag ef_s1;
syncq s1 to ef_s1 5; syncq s1 to ef_s1 5;
/* just to validate default queue size */
string x;
assign x to "syncq";
monitor x;
evflag ef_x;
syncq x to ef_x;
int n = 0; int n = 0;
assign n; assign n;
monitor n; monitor n;
......
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