add target_information()

Print from: pvxinfo -D
and new iocsh iocsh pvxs_target_info()
This commit is contained in:
Michael Davidsaver
2020-12-13 12:07:37 -08:00
parent 4145e482b9
commit 47882d759d
8 changed files with 182 additions and 6 deletions
+2 -1
View File
@@ -25,7 +25,7 @@ namespace {
MAIN(testioc)
{
testPlan(4);
testPlan(5);
testSetup();
testdbPrepare();
@@ -37,6 +37,7 @@ MAIN(testioc)
testdbReadDatabase("testioc.dbd", nullptr, nullptr);
testEq(0, testioc_registerRecordDeviceDriver(pdbbase));
testEq(0, iocshCmd("pvxsr()"));
testEq(0, iocshCmd("pvxs_target_info()"));
testTrue(!!ioc::server());