sim: unify various library testing logic

Move these options up to the common dir so we only test & export
them once across all ports.
72 files changed