From patchwork Thu Dec 12 00:26:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 22267 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DDA06202E6 for ; Thu, 12 Dec 2013 00:26:45 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id e14sf26814575iej.8 for ; Wed, 11 Dec 2013 16:26:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=w2NRdoq6m3BgLNNqU59nvQ5wRFQiEvtO/8PCv1y57uw=; b=AIK8PSCGiWb3UuBZpoU8DH2YKKG5uOkNXWcCMT6nXBsRlI2Xcc9WA6denvJcgSyjxk s3qfrJOSudsZlXR7RrFmAkEoCNUsw8EnrRM5r7rL2wGmMvxHU5dmQ3ttU5sCaZUNaqf0 msYJfC4oydEXkUYFOWQIOhXrRjUEtYfo7DWYvom2iAOwMTwf9puCdxmFGrCtV6eMoic2 rhGodg9nP7aAtMN1uY1RmfcExfDolArXJRkUCR9p5SP+Jxfaw3hu3k6t0208fjWMyTc2 dSjSHc92AMYiK5sgc6Cxj0Vq9/vWesmeGyyIJrk8Pev96pkKVzYKZ4D3C9/2MEEHQjDR oVMg== X-Gm-Message-State: ALoCoQkrY7uRj4Ns+53U74f3g9d2B0lzXfXfJGPn7pUIvUVIcoEc3lBzAHUo4/HzqLHI91WNgpf5 X-Received: by 10.42.210.68 with SMTP id gj4mr1582767icb.1.1386808005632; Wed, 11 Dec 2013 16:26:45 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.60.169 with SMTP id i9ls298236qer.65.gmail; Wed, 11 Dec 2013 16:26:45 -0800 (PST) X-Received: by 10.220.50.18 with SMTP id x18mr1842787vcf.29.1386808005476; Wed, 11 Dec 2013 16:26:45 -0800 (PST) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id ef6si7009685ved.47.2013.12.11.16.26.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Dec 2013 16:26:45 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id oz11so6488485veb.21 for ; Wed, 11 Dec 2013 16:26:45 -0800 (PST) X-Received: by 10.58.146.71 with SMTP id ta7mr1837776veb.23.1386808005407; Wed, 11 Dec 2013 16:26:45 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp313423vcz; Wed, 11 Dec 2013 16:26:45 -0800 (PST) X-Received: by 10.68.237.228 with SMTP id vf4mr6185034pbc.131.1386808004600; Wed, 11 Dec 2013 16:26:44 -0800 (PST) Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by mx.google.com with ESMTPS id 2si13205044pax.283.2013.12.11.16.26.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Dec 2013 16:26:44 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.179 is neither permitted nor denied by best guess record for domain of john.stultz@linaro.org) client-ip=209.85.192.179; Received: by mail-pd0-f179.google.com with SMTP id r10so10563063pdi.10 for ; Wed, 11 Dec 2013 16:26:44 -0800 (PST) X-Received: by 10.68.218.3 with SMTP id pc3mr6222006pbc.71.1386808004133; Wed, 11 Dec 2013 16:26:44 -0800 (PST) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id nw11sm45404479pab.13.2013.12.11.16.26.42 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Dec 2013 16:26:43 -0800 (PST) From: John Stultz To: Dhaval Giani , Minchan Kim Cc: John Stultz Subject: [PATCH 3/3] Makefile: Integrate fetching/building of external tests into the Makefile Date: Wed, 11 Dec 2013 16:26:28 -0800 Message-Id: <1386807988-20278-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1386807988-20278-1-git-send-email-john.stultz@linaro.org> References: <1386807988-20278-1-git-send-email-john.stultz@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Integrates the fetch-external-tests.sh into Makefile. Also renames the test file to be more explicit Signed-off-by: John Stultz --- Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index e7c1554..87aed65 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,19 @@ CFLAGS += -g -Wall -O3 -Wl,-no-as-needed bins = volatile-test volatile-test-signal -testfile = test +1M-testfile = 1M-testfile -all: ${bins} +all: ${bins} 1M-testfile external + +external: + ./fetch-external-tests.sh + +1M-testfile: + dd if=/dev/zero of=${1M-testfile} bs=1M count=1 -testfile: - dd if=/dev/zero of=${testfile} bs=1M count=1 clean: - rm -f ${bins} ${testfile} + rm -f ${bins} ${1M-testfile} + rm -rf ebizzy + rm -rf jemalloc