On Sat, 2019-12-07 at 07:40 -0700, Jeff Law wrote: > On Fri, 2019-11-15 at 20:23 -0500, David Malcolm wrote: > > This patch provides a plugin callback for invoking selftests, so > > that > > a > > plugin can add tests to those run by -fself-test=DIR. The callback > > invocation uses invoke_plugin_callbacks, which is a no-op if plugin > > support is disabled. > > > > gcc/ChangeLog: > > * plugin.c (register_callback): Add case for > > PLUGIN_RUN_SELFTESTS. > > (invoke_plugin_callbacks_full): Likewise. > > * plugin.def (PLUGIN_RUN_SELFTESTS): New event. > > * selftest-run-tests.c: Include "plugin.h". > > (selftest::run_tests): Run any plugin-provided selftests. > I'm generally in favor of having the ability for plugins to invoke > selftests. But do we want to push on this now given the preferred > direction for this kit? > > jeff
I'm dropping this for the sake of simplicity/YAGNI in the next iteration of the kit, as it's no longer needed by the kit. Dave