lp:~epics-core/epics-base/test-rtems-w-qemu
Enable easy execution of RTEMS-pc386 test harnesses with QEMU (and windows on *nix w/ WINE).
Avoid the usual problem of NIC support by including test data file in the test harness executable. Test files are encoded in C code, which is extracted into memory on boot.
- Get this branch:
- bzr branch lp:~epics-core/epics-base/test-rtems-w-qemu
Branch merges
- EPICS Core Developers: Pending requested
-
Diff: 566 lines (+337/-6)16 files modifiedconfigure/RULES_BUILD (+1/-1)
src/ioc/db/test/Makefile (+8/-0)
src/ioc/db/test/dbStressLock.c (+5/-0)
src/libCom/RTEMS/Makefile (+2/-0)
src/libCom/RTEMS/epicsMemFs.c (+110/-0)
src/libCom/RTEMS/epicsMemFs.h (+24/-0)
src/libCom/RTEMS/epicsRtemsInitHooks.h (+2/-0)
src/libCom/RTEMS/rtems_init.c (+30/-1)
src/libCom/misc/testMain.h (+7/-1)
src/libCom/test/Makefile (+11/-0)
src/libCom/test/rtemsTestData.c (+6/-0)
src/std/filters/test/Makefile (+9/-0)
src/std/rec/test/Makefile (+9/-0)
src/tools/Makefile (+1/-0)
src/tools/epicsMakeMemFs.pl (+83/-0)
src/tools/makeTestfile.pl (+29/-3)
Branch information
Recent revisions
- 12722. By mdavidsaver
-
rec/test: asTest fixup rtems test harness
Since this test has device support it must appear in a
DLL for windows dynamic builds.
However, the rRDD function is in the executable,
and not accessible here. So use iocsh.
For rtems/vxworks the test harness clears
iocsh registrations, so iocsh can't work here. - 12719. By mdavidsaver
-
db/test: dbStressLock skip for RTEMS
This test assumes that several threads with
equal priority will all run eventually.
This isn't turn an UP target without
time sliced scheduling. - 12718. By mdavidsaver
-
libCom/test: only run epicsUnitTest for host arch
custom .plt won't use WINE or QEMU when necessary.
- 12717. By mdavidsaver
-
build/run RTEMS-pc386 tests individually
Build and run individual test executable in addition
to the test harness.
Individual tests run with 'make runtests'.omit epicsUnitTestTest as it has a custom .plt
- 12716. By mdavidsaver
-
RTEMS: build self contained test harness
Test data stub as a separate file to allow
linking into test harness and individual tests. - 12715. By mdavidsaver
-
RTEMS: Add epicsMemFs and hook for app specific FS setup
Default falls back to network FS.
Compile in a set of files as a epicsMemFS structure.
epicsMemFsLoad() creates a set of files based on this. - 12714. By mdavidsaver
-
src/tools: teach makeTestfile about WINE and QEMU
Teach makeTestfile host to run test for some cross built
targets. - 12713. By mdavidsaver
-
libCom/misc: testMain for RTEMS give weak alias for main()
Allows tests to be linked separately or in a common test harness
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~epics-core/epics-base/3.15