test/power: fix ACPI cpufreq module miss fallback
authorPallantla Poornima <pallantlax.poornima@intel.com>
Tue, 13 Nov 2018 13:58:20 +0000 (13:58 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 14 Nov 2018 03:51:34 +0000 (04:51 +0100)
commit75ee240b2aab58a7f6c8ef903d73a10b63348099
tree554a168fb88aaa2286ccb323a72503166c0d7db9
parent6265115f94d8d40fa1e78e8ea01f6de3a369c61f
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 <pallantlax.poornima@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
test/test/test_power_acpi_cpufreq.c