if a module is provided on the command line, for example with --module doesnotexist, a warning is issued could not load module 'doesnotexit' correctly; skipping... but the tests continue.
the safer behavior would be that the tests fail ReFrame errors out because they're not doing what the user asked, so the results are misleading.
if that's not possible (e.g. to not break user's code that depends on this), can you add an option that makes sure the tests fail?