mirror of
https://github.com/simh/simh.git
synced 2026-05-02 22:22:48 +00:00
SCP: Add support for optional device unit tests
Some simulators and/or devices may want to provide specific testing activities outside of full simulator execution which often will require external, potentially complicated setup.
This commit is contained in:
@@ -522,6 +522,8 @@ struct DEVICE {
|
||||
const char *(*description)(DEVICE *dptr); /* Device Description */
|
||||
BRKTYPTAB *brk_types; /* Breakpoint types */
|
||||
void *type_ctx; /* Device Type/Library Context */
|
||||
t_stat (*unit_test)(DEVICE *dptr, const char *cptr);
|
||||
/* Device Unit Test Routine */
|
||||
};
|
||||
|
||||
/* Device flags */
|
||||
|
||||
Reference in New Issue
Block a user