From: Pallantla Poornima Date: Tue, 13 Nov 2018 13:58:20 +0000 (+0000) Subject: test/power: fix ACPI cpufreq module miss fallback X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=75ee240b2aab58a7f6c8ef903d73a10b63348099;p=dpdk.git test/power: fix ACPI cpufreq module miss fallback Power_acpi_cpufreq_autotest should not be run on VM and platforms which dont have acpi_cpufreq module loaded. Hence changed return as TEST_SKIPPED Fixes: 0ea2dd4409 ("test: skip when required lib not available") Cc: stable@dpdk.org Signed-off-by: Pallantla Poornima Acked-by: Reshma Pattan --- diff --git a/test/test/test_power_acpi_cpufreq.c b/test/test/test_power_acpi_cpufreq.c index 22e541d65c..6d637cc77a 100644 --- a/test/test/test_power_acpi_cpufreq.c +++ b/test/test/test_power_acpi_cpufreq.c @@ -441,7 +441,7 @@ test_power_acpi_cpufreq(void) "correctly(APCI cpufreq) or operating in another valid " "Power management environment\n", TEST_POWER_LCORE_ID); rte_power_unset_env(); - return -1; + return TEST_SKIPPED; } /**