Skip to content
Snippets Groups Projects
Commit 8786e93a authored by benjamin.franksen's avatar benjamin.franksen
Browse files

test: separate testHarness from startup for vxWorks

This is so I can first start up the IOC, then switch to telnet console,
and then start the tests. The console output (quite verbose for some of
the tests) will be much faster in this way and the tests accordingly
more realistic.
parent 9bb1fa65
No related branches found
No related tags found
No related merge requests found
......@@ -137,8 +137,11 @@ $(COMMON_DIR)/vxTestHarness.db: $(REGRESSION_TESTS_WITH_DB:%=../%.db)
st.cmd: ../st.cmd.vxWorks ../makeStCmd.pl
$(CP) ../st.cmd.vxWorks $@
$(PERL) -MExtUtils::Command -e chmod 644 $@
$(PERL) ../makeStCmd.pl $(REGRESSION_TESTS_vxWorks) >> $@
testHarness.cmd: ../makeStCmd.pl
$(PERL) ../makeStCmd.pl $(REGRESSION_TESTS_vxWorks) > $@
$(PERL) -MExtUtils::Command -e chmod 644 $@
ifeq "$(OS_CLASS)" "vxWorks"
build: st.cmd
build: st.cmd testHarness.cmd
endif
......@@ -3,3 +3,4 @@ dbLoadDatabase("../O.Common/vxTestHarness.dbd")
vxTestHarness_registerRecordDeviceDriver(pdbbase)
dbLoadRecords("../O.Common/vxTestHarness.db")
iocInit
< testHarness.cmd
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