From patchwork Wed Dec 10 18:14:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 42094 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AD58726666 for ; Wed, 10 Dec 2014 18:14:36 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id n15sf2314310lbi.8 for ; Wed, 10 Dec 2014 10:14:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=N/ZsOfti9bK1l6aHJmyt0BMPLjkZ+j14v9slm+76GmY=; b=MAQmlxraW6tkDRnrc4FAdvNlhJC2TDQrhIJ9PARRM28UVWInZvwDezJmdX5rbpg2Ru wAiNJLirn+kYb2tjtiTutX426ghzCStpaTOeTwr0NbWKM7CvkiVbjrrOvYUMZlrLUqoS eBSgLW/SwOM5JmXREoHEMpak68EtjvFUMN9ajUEg3f+g5JH2LGW6mkl+BWPih7hzkvtX Wtbuf4Fb++edMKthe7IRcfyaowFW7W9fKaUTf4wkr2M++bxKgA2uoaS0xY8rRBn1gJLr mdQsB6o7yhmvkbGsh63d5uIQY4MIb9PS9QXi47dm2ROR8S8HFGJEFUs4+b7oNcKI0hQZ kkow== X-Gm-Message-State: ALoCoQmxLjTGLmQ5ucCCa37XBkod/xJ4FS5CX26wphaNrkADRkiIReNDRW75z9LcNS5t5i8tHe0z X-Received: by 10.112.130.8 with SMTP id oa8mr559215lbb.11.1418235275628; Wed, 10 Dec 2014 10:14:35 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.1.136 with SMTP id 8ls188808lam.55.gmail; Wed, 10 Dec 2014 10:14:35 -0800 (PST) X-Received: by 10.152.2.41 with SMTP id 9mr5273727lar.47.1418235275357; Wed, 10 Dec 2014 10:14:35 -0800 (PST) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id ua8si3459143lac.7.2014.12.10.10.14.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Dec 2014 10:14:35 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id hs14so2917183lab.36 for ; Wed, 10 Dec 2014 10:14:34 -0800 (PST) X-Received: by 10.152.25.129 with SMTP id c1mr5524312lag.9.1418235274939; Wed, 10 Dec 2014 10:14:34 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.142.69 with SMTP id ru5csp285989lbb; Wed, 10 Dec 2014 10:14:34 -0800 (PST) X-Received: by 10.224.96.129 with SMTP id h1mr8439858qan.46.1418235273510; Wed, 10 Dec 2014 10:14:33 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id k8si5677779qat.73.2014.12.10.10.14.32 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 10 Dec 2014 10:14:33 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XylmQ-0000Sq-Bb; Wed, 10 Dec 2014 18:14:30 +0000 Received: from mail-qc0-f174.google.com ([209.85.216.174]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XylmK-0000Sl-D2 for lng-odp@lists.linaro.org; Wed, 10 Dec 2014 18:14:24 +0000 Received: by mail-qc0-f174.google.com with SMTP id c9so2576222qcz.33 for ; Wed, 10 Dec 2014 10:14:19 -0800 (PST) X-Received: by 10.140.84.111 with SMTP id k102mr10549707qgd.76.1418235259181; Wed, 10 Dec 2014 10:14:19 -0800 (PST) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id t5sm4891345qge.16.2014.12.10.10.14.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Dec 2014 10:14:18 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 10 Dec 2014 13:14:11 -0500 Message-Id: <1418235251-46141-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] validation: inform when tests_global_init fails X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Currently a test can fail tests_gloabl_init without indicating to the user. This patch ensures that an indication is always given via stdout. Signed-off-by: Mike Holmes Reviewed-by: Ciprian Barbu --- test/validation/common/odp_cunit_common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/validation/common/odp_cunit_common.c b/test/validation/common/odp_cunit_common.c index 950bd18..1fc5725 100644 --- a/test/validation/common/odp_cunit_common.c +++ b/test/validation/common/odp_cunit_common.c @@ -58,8 +58,10 @@ int main(void) } ret = tests_global_init(); - if (ret) + if (ret) { + printf("tests_global_init fail.\n"); return ret; + } CU_set_error_action(CUEA_ABORT);