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

test: renamed softIoc to seqSoftIoc to avoid conflict with base

parent 33f59a6a
No related branches found
No related tags found
No related merge requests found
......@@ -35,17 +35,17 @@ PROD += eftest
#PROD += ctest
# Libraries
PROD_LIBS += softIoc
PROD_LIBS += seqSoftIoc
PROD_LIBS += seq
PROD_LIBS += pv
PROD_LIBS += $(EPICS_BASE_IOC_LIBS)
LIBRARY += softIoc
LIBRARY += seqSoftIoc
DBD += softIoc.dbd
softIoc_DBD += base.dbd
DBD += seqSoftIoc.dbd
seqSoftIoc_DBD += base.dbd
softIoc_SRCS += softIoc_registerRecordDeviceDriver.cpp
seqSoftIoc_SRCS += seqSoftIoc_registerRecordDeviceDriver.cpp
DB_INSTALLS += syncq.db
DB_INSTALLS += pvGetComplete.db
......
......@@ -14,12 +14,12 @@
/* Usage:
* <test-program>
* [-D softIoc.dbd] [-h] [-S] [-s] [-a ascf]
* [-D seqSoftIoc.dbd] [-h] [-S] [-s] [-a ascf]
* [-m macro=value,macro2=value2] [-d <test-program>.db]
* [st.cmd]
*
* If used the -D option must come first, and specify the
* path to the softIoc.dbd file. The compile-time install
* path to the seqSoftIoc.dbd file. The compile-time install
* location is saved in the binary as a default.
*
* Usage information will be printed if -h is given, then
......@@ -65,18 +65,18 @@
#include "iocInit.h"
#include "iocsh.h"
extern int softIoc_registerRecordDeviceDriver(struct dbBase *pdbbase);
extern int seqSoftIoc_registerRecordDeviceDriver(struct dbBase *pdbbase);
#define DBD_FILE "dbd/softIoc.dbd"
#define DBD_FILE "dbd/seqSoftIoc.dbd"
const char *arg0;
const char *base_dbd = DBD_FILE;
static void usage(int status) {
printf("Usage: %s [-D softIoc.dbd] [-h] [-S] [-a ascf]\n", arg0);
printf("Usage: %s [-D seqSoftIoc.dbd] [-h] [-S] [-a ascf]\n", arg0);
puts("\t[-m macro=value,macro2=value2] [-d file.db]");
puts("\t[-x prefix] [st.cmd]");
puts("Compiled-in path to softIoc.dbd is:");
puts("Compiled-in path to seqSoftIoc.dbd is:");
printf("\t%s\n", base_dbd);
epicsExit(status);
}
......@@ -112,7 +112,7 @@ int main(int argc, char *argv[])
epicsExit(EXIT_FAILURE);
}
softIoc_registerRecordDeviceDriver(pdbbase);
seqSoftIoc_registerRecordDeviceDriver(pdbbase);
seqRegisterSequencerProgram(&PROG_NAME);
if (startIocsh) {
......
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