lp://staging/~epics-core/epics-base/ioc-test-module

Created by Andrew Johnson and last modified
Get this branch:
bzr branch lp://staging/~epics-core/epics-base/ioc-test-module
Members of EPICS Core Developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
EPICS Core Developers
Project:
EPICS Base
Status:
Development

Recent revisions

12501. By Andrew Johnson

remove extraneous file, disable testSoftIoc.t

12500. By Andrew Johnson

testSoftIoc: use FindBin to let this be run from anywhere.

12499. By Andrew Johnson

Build basic commandline history/editor into all targets

The build configuration parameter now specifies the preferred
history/editor module, but this can be disabled before starting the
IOC by setting the enviroment variable IOCSH_HISTEDIT_DISABLE in
which case the basic module will be used.

This commit splits the confusing osi/os/default/epicsReadline.c
file into four separate files; osi/epicsReadline.c which contains
the basic command-line module and has no history capabilities; the
osi/os/default/gnuReadline.c file provides the support for GNU
Readline, and can be included for any target that has GNU Readline
available; the osi/os/RTEMS/osdReadline.c impmentation uses tecla;
and osi/os/vxWorks/osdReadline.c uses the VxWorks ledLib API.

The Perl EPICS::IOC module now sets the IOCSH_HISTEDIT_DISABLE
environment variable to prevent unexpected output from the chosen
history/editor from confusing its parsing of command output.

THe VxWorks and RTEMS modules have not been built or tested yet.

12498. By Andrew Johnson

IOC.pm: Adjust terminator newline and checking.

12497. By Andrew Johnson

testSoftIoc: Test CA connections too

Run the IOC twice, once for a built-in test database and
once using the -x option.
This tests the exit database, and that a CA client can
connect to the IOC and receive subscription monitors.
This is also a demonstration for later test programs...

12496. By Andrew Johnson

IOC.pm enhancements

Don't use POSIX, unnecessary.
Swich to IPC::Open3 to capture and separate stderr.
Make dbLoadRecords macros optional.

12495. By Andrew Johnson

Turned ioctest into testSoftIoc in std/softIoc directory.

Also added a vpath for .plt files.

12494. By Andrew Johnson

Fix problem with empty command.

Also added some more debug output.

12493. By Andrew Johnson

Fix readline problem on Mac

The libedit emulation of readline that is used on OSX does not
print the prompt string if stdout is not connected to a tty.
Fix that by printing the prompt ourselves in that case, and
tell the real readline() we've already done so.

12492. By Andrew Johnson

Initial checkin of IOC Perl module and ioctest script.

The original Ioc.pm module was written by Shantha Condamoor
at the 2010 EPICS Codeathon. I have since tidied it up and
removed some non-portable sections. This version has only
been tested on Linux, but should work on other Unix-like
architectures. I hope we can get it to run on Windows too.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~epics-core/epics-base/3.15
This branch contains Public information 
Everyone can see this information.