Provide a way to disable tests.

Cf. jrl-umi3218/jrl-cmakemodules#44