generators: use if __name__ == __main__ pattern in cl generators
This means that they only generate tests if they are called as the main script, but not if they are imported as modules. This is important for testing purposes. Signed-off-by:Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by:
Jordan Justen <jordan.l.justen@intel.com>
Showing
Please register or sign in to comment