From: Serge Rehbinder Date: Wed, 3 Aug 2016 09:35:19 +0000 (+0200) Subject: suppress the testcommand X-Git-Tag: 5.0.0a0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=45b76d3210ebe00f9b94afa76626b0e0ce5f7781;p=tools%2Fsat.git suppress the testcommand --- diff --git a/commands/testcommand.py b/commands/testcommand.py deleted file mode 100644 index 9ad085c..0000000 --- a/commands/testcommand.py +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env python -#-*- coding:utf-8 -*- - -import src - -# Define all possible option for testcommand command : sat testcommand -parser = src.options.Options() -parser.add_option('p', 'product', 'list2', 'nb_proc', - _('products to get the sources. This option can be' - ' passed several time to get the sources of several products.')) - -parser.add_option('', 'dd', 'list2', 'makeflags', - _('products to get the sources. This option can be' - ' passed several time to get the sources of several products.')) - -def description(): - return _("Test d'une commande supplémentaire.") - - -def run(args, runner, logger): - (options, args) = parser.parse_args(args) - - # check that the command has been called with an application - src.check_config_has_application( runner.cfg ) - - pi = src.product.get_product_config(runner.cfg, 'PRODUCT_GIT') - - builder = src.compilation.Builder(runner.cfg, logger, options, pi) - - builder.prepare() - - builder.cmake() - - builder.make() \ No newline at end of file