From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C8A1E2BA3 for ; Tue, 5 Mar 2019 07:51:43 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Mar 2019 22:51:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,442,1544515200"; d="scan'208";a="149330125" Received: from unknown (HELO yaolei2.icx.intel.com) ([10.67.118.30]) by fmsmga004.fm.intel.com with ESMTP; 04 Mar 2019 22:51:41 -0800 From: Lei To: dts@dpdk.org Cc: Lei Yao Date: Tue, 5 Mar 2019 14:16:09 +0000 Message-Id: <1551795369-87856-1-git-send-email-lei.a.yao@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH] tests: add comment for the test ENV requirement of Power Unit test 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: Tue, 05 Mar 2019 06:51:44 -0000 From: Lei Yao For APCI driver test, it need some special BIOS and GRUB settings to enable ACPI driver. Signed-off-by: Lei Yao --- tests/TestSuite_unit_tests_power.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_unit_tests_power.py b/tests/TestSuite_unit_tests_power.py index 34c8296..1191168 100644 --- a/tests/TestSuite_unit_tests_power.py +++ b/tests/TestSuite_unit_tests_power.py @@ -81,7 +81,8 @@ class TestUnitTestsPower(TestCase): """ Run power acpi cpu frequency autotest. """ - + # This acpi driver test case need correct BIOS and Grub settings. + # otherwise, the power lib initialization will be failed self.dut.send_expect("./%s/app/test -n 1 -c %s" % (self.target, self.coremask), "R.*T.*E.*>.*>", 60) out = self.dut.send_expect("power_acpi_cpufreq_autotest", "RTE>>", 60) self.dut.send_expect("quit", "# ") @@ -91,7 +92,8 @@ class TestUnitTestsPower(TestCase): """ Run power acpi cpu caps autotest. """ - + # This acpi driver test case need correct BIOS and Grub settings. + # otherwise, the power lib initialization will be failed self.dut.send_expect("./%s/app/test -n 1 -c %s" % (self.target, self.coremask), "R.*T.*E.*>.*>", 60) out = self.dut.send_expect("power_acpi_caps_autotest", "RTE>>", 60) self.dut.send_expect("quit", "# ") -- 2.7.4