From patchwork Mon Oct 9 14:00:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 115242 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2593215qgn; Mon, 9 Oct 2017 07:03:03 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC2NgFx1tY8yTDt4uKLRgXtedWHV2XvwM6N/wud99q7kPRdZtEckh105ol/nLPzr3kGRSxY X-Received: by 10.36.88.72 with SMTP id f69mr4776766itb.129.1507557783710; Mon, 09 Oct 2017 07:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507557783; cv=none; d=google.com; s=arc-20160816; b=VT4UjEXmgUnF8AkCPgwW3lxV/wNNJNLkq4kvCvZfONZDyQWcOC9wfHAA6OXQS802Vf NEGOMB60fODQqVXgMvkog3+RJrNToNLXN6R/cUI9gAK3MB+7sKNrMiTAXIufY7PYGRgH GUzbZdi+uQFvXs54D18e+Yk36qm+3bvYDcH0iLWXqmcb5Ta8PH1zhC6dzYtD9NJpMXFT xZXhWqEuleDtKv6Kv9ndcW7nyZJvcbW1ZH8+54D0gFDScuJR2wq4ScIgQvGUl98Zi4ZM cG+qsiNgkPXlfu/nEQXcBm6fk0CgX+NQXmF+KZ6vGGI39MB9eLD2VOSqC+vbwDbLrtY+ pZJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=F9KCz96PTb3AbeTp8BwZQ5QAsu3GiSaJ3cNy17G5otE=; b=wUV/d11GI8ENUFERRLwbZ0wpLkQ9qjbaGJC2YHFevhDiJ5qQ7YSL0/SgpVHBOBQI/c py3/hX72FvNYeUrDNM763AcEVIChwf/4r00FCwJVLrZTyPsTcL/iUVBvcPosFoaz8PI+ bP5uW5tuYIn/a2T3WZjY88Xa1HVJoNZYTjxXaLU9FYT9Al99oJEZ1rGLf/jqKCD1qgRo N78Q3SQdq3Pthaw/lpqSFDBxL+48tirBJ7vf2fVx7981xIDJH2uf6pLnFXhyUDuQ96QG vPxWqpC1s0Sc6zG/z7EwILh99hDmEBK0Tcl5aUMo2mn5ygFBer5bF1Ebb1xre3i4w7j5 jUDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j95si6682610iod.232.2017.10.09.07.03.03; Mon, 09 Oct 2017 07:03:03 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 3D91660BE0; Mon, 9 Oct 2017 14:03:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id EF7A360AC8; Mon, 9 Oct 2017 14:01:00 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 009AC60BDC; Mon, 9 Oct 2017 14:00:53 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 5CE42609C3 for ; Mon, 9 Oct 2017 14:00:45 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 05B29430236C for ; Mon, 9 Oct 2017 17:00:44 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id OwZisf6UNQ-0hsi1QNx; Mon, 09 Oct 2017 17:00:43 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id wSTIYzb9Br-0gdCbO2W; Mon, 09 Oct 2017 17:00:42 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 9 Oct 2017 17:00:07 +0300 Message-Id: <1507557617-32018-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1507557617-32018-1-git-send-email-odpbot@yandex.ru> References: <1507557617-32018-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 188 Subject: [lng-odp] [PATCH v3 3/13] tests: fix validation tests being skipped by default X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov 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 Reviewed-by: Bill Fischofer Signed-off-by: Maxim Uvarov --- /** 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 --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"])