Message ID | 1459181498-8134-3-git-send-email-gary.robertson@linaro.org |
---|---|
State | Superseded |
Headers | show |
diff --git a/test/validation/cpumask/cpumask.c b/test/validation/cpumask/cpumask.c index 017332a..24e67b0 100644 --- a/test/validation/cpumask/cpumask.c +++ b/test/validation/cpumask/cpumask.c @@ -67,7 +67,7 @@ void cpumask_test_odp_cpumask_def(void) mask_count = odp_cpumask_count(&mask); CU_ASSERT(mask_count == num_control); - CU_ASSERT(num_control == 1); + CU_ASSERT(num_control >= 1); CU_ASSERT(num_worker <= available_cpus); CU_ASSERT(num_worker > 0); }
A second issue was discovered in the validation test code after fixing bug 2027 and creating default cpumasks containing all installed CPUs. See Linaro BUG 2027 for details. https://bugs.linaro.org/show_bug.cgi?id=2027 The cpumask validation test expected exactly one control CPU and returned an error otherwise. This change considers one or more control CPUs to be correct. Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> --- test/validation/cpumask/cpumask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)