From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D056C2C27 for ; Sat, 1 Apr 2017 09:41:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491032471; x=1522568471; h=from:to:cc:subject:date:message-id; bh=kGJsASN2Pv8U26SOGKBgGEjO+eVw7vznz5NWk7l2OIg=; b=dreU5lECE7M9BMAZfhjBvIhiY47Wdv0xwCfuapYKOViH8dGkIg7DMNcT xoj+dduBFzEkS/Q4YdF1QlOpiXxOxw==; Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Apr 2017 00:41:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,256,1486454400"; d="scan'208";a="1114257759" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 01 Apr 2017 00:41:08 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Sat, 1 Apr 2017 15:42:28 +0800 Message-Id: <1491032552-118473-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH 0/4] compile dpdk different config with different test suite by dts framework befor run test suite X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2017 07:41:11 -0000 we should compile dpdk many times for different test suite. if we exec a test suite must update dpdk compile suite or change dpdk code, we must cpmpile dpdk two times at least. So this change for read exec test_suite list and compile dpdk befor run test suite. update list: 1. conf/common_base this is dpdk all compile switch from dpdk source code. it for check compile.cfg switch vaild. 2. conf/compile.cfg compile config template, detaile config please see comments in file 3. framework/config.py parse compile.cfg, detaile info please see comments in commit 4. framework/project_dpdk.py a)define interface for test suit: reset_compile_target() b) read compile conf and get test suite list, then update compile switch and compile dpdk 5. framework/dts.py set test suite list 6. tests/TestSuite_coremask.py and tests/TestSuite_queue_start_stop.py example for use compile config. Now old interface for compile dpdk is vaild, so other case will also run pass. xu,huilong (4): add dpdk all compile switch add compile config file template and parse compile config class read compile switch config and compile dpdk before test add example for test suite conf/common_base | 632 ++++++++++++++++++++++++++++++++++++ conf/compile.cfg | 30 ++ framework/config.py | 21 +- framework/dts.py | 2 +- framework/project_dpdk.py | 103 +++++- tests/TestSuite_coremask.py | 12 +- tests/TestSuite_queue_start_stop.py | 28 +- 7 files changed, 789 insertions(+), 39 deletions(-) create mode 100644 conf/common_base create mode 100644 conf/compile.cfg -- 1.9.3