test_select - call internal selection methods on design for testing purposes

yosys> help test_select
test_select [options]
Test semantics of internal 'RTLIL::Design::selected_modules()' by modifying the
current selection to only include the results of the call.

Includes partially selected modules by default, use one of the following options
to remove them instead:
-whole_only
-whole_warn
-whole_err
-whole_cmderr
remove partially selected modules, raising warning, error, or cmd error
test_select -unboxed_only [options]
Remove boxed modules from selection.
-include_wb
don't remove white boxes from selection
-warn_boxes
-err_boxes
-cmderr_boxes
raise warning, error, or cmd error if a box is removed