diff mbox series

[v3,3/13] tests: fix validation tests being skipped by default

Message ID 1507557617-32018-4-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v3,1/13] linux-gen: drop unused _odp_packet_cmp_data() function | expand

Commit Message

Github ODP bot Oct. 9, 2017, 2 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


After [d091f2176a28 configure: "best effort" approach for CUnit and
validation tests] by default validation tests will get skipped by
default because test_vald variable will remain set to check instead of
yes. Update it to yes, if it was not set and CUnit was found.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 188 (WonderfulVoid:master)
 ** https://github.com/Linaro/odp/pull/188
 ** Patch: https://github.com/Linaro/odp/pull/188.patch
 ** Base sha: c16af6486eea240609f334b1bdc81a11404275de
 ** Merge commit sha: 4ad1d0615a4dcd74d4e9703090149eec1a58d7d2
 **/
 test/common_plat/m4/validation.m4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/test/common_plat/m4/validation.m4 b/test/common_plat/m4/validation.m4
index bf849aa3f..f7127c06c 100644
--- a/test/common_plat/m4/validation.m4
+++ b/test/common_plat/m4/validation.m4
@@ -23,7 +23,8 @@  AS_IF([test "x$test_vald" = "xyes" -a "x$cunit_support" = "xno"],
       [AC_MSG_ERROR([Validation testsuite requested, but CUnit was not found])],
       [test "x$test_vald" = "xcheck" -a "x$cunit_support" = "xno"],
       [AC_MSG_WARN([CUnit was not found, disabling validation testsuite])
-       test_vald=no])
+       test_vald=no],
+      [test_vald=yes])
 
 AM_CONDITIONAL([cunit_support], [test "x$cunit_support" = "xyes"])
 AM_CONDITIONAL([test_vald], [test "x$test_vald" = "xyes"])