X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=commands%2Fcheck.py;h=7961ca04e778ae2790aa336c515767cb08ced548;hb=107552854ce17709e5953955d2514079a72035e6;hp=a5eeadc3133a7d7a83e0a0b24b2aa12695d7c6ea;hpb=835d4b3877b73a1be09835bc5ed53114f86e54fa;p=tools%2Fsat.git diff --git a/commands/check.py b/commands/check.py index a5eeadc..7961ca0 100644 --- a/commands/check.py +++ b/commands/check.py @@ -85,21 +85,27 @@ def check_product(p_name_info, config, logger): # Verify if the command has to be launched or not ignored = False - if not src.get_property_in_product_cfg(p_info, CHECK_PROPERTY): - msg = _("The product %s is defined as not having tests. " + if src.product.product_is_native(p_info): + msg = _("The product %s is defined as being native. " "product ignored." % p_name) logger.write("%s\n" % msg, 4) ignored = True - if "build_dir" not in p_info: - msg = _("No build_dir key defined in " - "the config file of %s: product ignored." % p_name) + elif not src.get_property_in_product_cfg(p_info, CHECK_PROPERTY): + msg = _("The product %s is defined as not having tests. " + "product ignored." % p_name) logger.write("%s\n" % msg, 4) ignored = True - if not src.product.product_compiles(p_info): + elif not src.product.product_compiles(p_info): msg = _("The product %s is defined as not compiling. " "product ignored." % p_name) logger.write("%s\n" % msg, 4) ignored = True + elif "build_dir" not in p_info: + msg = _("No build_dir key defined in " + "the config file of %s: product ignored." % p_name) + logger.write("%s\n" % msg, 4) + ignored = True + # Get the command to execute for script products cmd_found = True