From 45b76d3210ebe00f9b94afa76626b0e0ce5f7781 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Wed, 3 Aug 2016 11:35:19 +0200 Subject: [PATCH] suppress the testcommand --- commands/testcommand.py | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 commands/testcommand.py 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 -- 2.39.2