From patchwork Tue Dec 30 13:41:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 42654 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 40D7926CB5 for ; Tue, 30 Dec 2014 13:41:37 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id gq15sf8902403lab.7 for ; Tue, 30 Dec 2014 05:41:36 -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=2uHY6MMQfHrN9UH5KIYWmYo1oT+jaP+uGvMtSvkFZXE=; b=ASNXq/2TRyPvaQP5Dk871vB5jpcF8m/G816mfJ98zxV3JeOKvVptHZtdKIAXkKcEw5 GRf6dXD2ewUBZ9rqDAKHSLXVExFWRGZ2fT4gJTXbJyCUEYi/te0lsOUG5tJfci7XoTDJ WpYshRapI6M8SGgRClGlYlP1zC5ph5efZa/O+eDmWaeyj3aGVIr24334LiUnCzSUm9mm 0zfA0QIkeNxrsgQ3runZyJfOchaIQcyLqhKFvKv0zsKFhhVW1gPPCRbAIlf5TMKphM3R b8IbHPAP0s/uXXJVUdtITJ/isTVcBZpejnCQoxu5iC6bA0c7AlY8iH42+z1xRucirr36 wQcw== X-Gm-Message-State: ALoCoQlcg7M1EZKyRD8NV9BOmoV2x2Tfe7+Ofi+umIE6c4/baygCJH8gF7MixoBOylha3/G658Iv X-Received: by 10.112.148.198 with SMTP id tu6mr4936051lbb.3.1419946896210; Tue, 30 Dec 2014 05:41:36 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.101 with SMTP id z5ls848338laz.99.gmail; Tue, 30 Dec 2014 05:41:35 -0800 (PST) X-Received: by 10.112.167.68 with SMTP id zm4mr6484553lbb.93.1419946895931; Tue, 30 Dec 2014 05:41:35 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id t10si30537924lat.56.2014.12.30.05.41.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Dec 2014 05:41:35 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by mail-la0-f41.google.com with SMTP id hv19so12735652lab.28 for ; Tue, 30 Dec 2014 05:41:35 -0800 (PST) X-Received: by 10.112.98.99 with SMTP id eh3mr61041004lbb.32.1419946895320; Tue, 30 Dec 2014 05:41:35 -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 ru5csp3065598lbb; Tue, 30 Dec 2014 05:41:34 -0800 (PST) X-Received: by 10.140.35.240 with SMTP id n103mr69049622qgn.11.1419946893834; Tue, 30 Dec 2014 05:41: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 y34si12638364qgy.28.2014.12.30.05.41.32 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 30 Dec 2014 05:41: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 1Y5x3C-0005cH-AH; Tue, 30 Dec 2014 13:41:30 +0000 Received: from mail-qa0-f44.google.com ([209.85.216.44]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Y5x36-0005cC-3e for lng-odp@lists.linaro.org; Tue, 30 Dec 2014 13:41:24 +0000 Received: by mail-qa0-f44.google.com with SMTP id bm13so10324065qab.3 for ; Tue, 30 Dec 2014 05:41:18 -0800 (PST) X-Received: by 10.229.130.65 with SMTP id r1mr100358757qcs.16.1419946878774; Tue, 30 Dec 2014 05:41:18 -0800 (PST) Received: from localhost.localdomain ([98.221.136.245]) by mx.google.com with ESMTPSA id p49sm35973692qgp.30.2014.12.30.05.41.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Dec 2014 05:41:18 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 30 Dec 2014 08:41:08 -0500 Message-Id: <1419946868-26787-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] configure.ac: performance: add tests to unit 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.41 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 Allow the test/performance directory to be optionally included when make check is run Signed-off-by: Mike Holmes --- configure.ac | 17 +++++++++++++++++ test/performance/.gitignore | 2 ++ test/performance/Makefile.am | 4 ++++ 3 files changed, 23 insertions(+) diff --git a/configure.ac b/configure.ac index f0ce7e0..30bd4de 100644 --- a/configure.ac +++ b/configure.ac @@ -104,6 +104,22 @@ AC_ARG_ENABLE([debug], ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG=$ODP_DEBUG" ########################################################################## +# Enable/disable unit-perf +########################################################################## +if test x$cunit_support = xyes +then +AC_ARG_ENABLE([unit-perf], + [ --enable-unit-perf Enable/disable unit-perf], + [if test "x$enableval" = "xyes"; then + unit_perf=yes + fi]) +else + unit_perf=no +fi + +AM_CONDITIONAL([unit_perf], [test x$unit_perf = xyes ]) + +########################################################################## # Check for pthreads availability ########################################################################## @@ -243,4 +259,5 @@ AC_MSG_RESULT([ am_ldflags: ${AM_LDFLAGS} libs: ${LIBS} cunit: ${cunit_support} + unit_perf: ${unit_perf} ]) diff --git a/test/performance/.gitignore b/test/performance/.gitignore index a229e10..9ccb102 100644 --- a/test/performance/.gitignore +++ b/test/performance/.gitignore @@ -1 +1,3 @@ +*.log +*.trs odp_scheduling diff --git a/test/performance/Makefile.am b/test/performance/Makefile.am index 359c4f0..a4afd36 100644 --- a/test/performance/Makefile.am +++ b/test/performance/Makefile.am @@ -1,5 +1,9 @@ include $(top_srcdir)/test/Makefile.inc +if unit_perf +TESTS = odp_scheduling +endif + bin_PROGRAMS = odp_scheduling odp_scheduling_LDFLAGS = $(AM_LDFLAGS) -static odp_scheduling_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/test