From patchwork Mon Jun 1 13:10:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?C=C3=A9dric_Le_Goater?= X-Patchwork-Id: 479028 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 747B314016A for ; Mon, 1 Jun 2015 23:10:15 +1000 (AEST) Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 5C8951A0CC0 for ; Mon, 1 Jun 2015 23:10:15 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 754F91A016E for ; Mon, 1 Jun 2015 23:10:12 +1000 (AEST) Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 1 Jun 2015 14:10:08 +0100 Received: from d06dlp03.portsmouth.uk.ibm.com (9.149.20.15) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 1 Jun 2015 14:10:06 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 117321B0807D for ; Mon, 1 Jun 2015 14:11:00 +0100 (BST) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t51DA6Oa21495964 for ; Mon, 1 Jun 2015 13:10:06 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t51DA5O2026453 for ; Mon, 1 Jun 2015 07:10:05 -0600 Received: from [9.79.43.53] (sig-9-79-43-53.de.ibm.com [9.79.43.53]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t51D9tG4026003; Mon, 1 Jun 2015 07:09:59 -0600 Message-ID: <556C59B7.40000@fr.ibm.com> Date: Mon, 01 Jun 2015 15:10:15 +0200 From: Cedric Le Goater User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Stewart Smith , skiboot@lists.ozlabs.org References: <1432102560-3005-1-git-send-email-clg@fr.ibm.com> <556C2F88.9040209@fr.ibm.com> In-Reply-To: <556C2F88.9040209@fr.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15060113-0041-0000-0000-00000475A638 Subject: Re: [Skiboot] [PATCH] add a build directory test X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" On 06/01/2015 12:10 PM, Cedric Le Goater wrote: > On 06/01/2015 10:07 AM, Stewart Smith wrote: >> Cédric Le Goater writes: >>> Signed-off-by: Cédric Le Goater >>> --- >>> test/Makefile.check | 4 ++++ >>> 1 file changed, 4 insertions(+) >>> >>> Index: skiboot.git/test/Makefile.check >>> =================================================================== >>> --- skiboot.git.orig/test/Makefile.check >>> +++ skiboot.git/test/Makefile.check >>> @@ -2,3 +2,7 @@ check: boot-check >>> >>> boot-check: skiboot.lid >>> ./test/run_boot_test.sh >>> + >>> +build-check: >>> + rm -rf buildtest && mkdir buildtest >>> + make SRC=$(PWD) -f ../Makefile -C buildtest >> >> Could you instead add to .travis.yaml so that it's just built by >> travis-ci ? > > Sure. I will give it a try also. Is that what you want ? I tested it on travis. C. From: Cédric Le Goater Subject: [PATCH] add a build directory test Signed-off-by: Cédric Le Goater --- .travis.yml | 2 +- test/Makefile.check | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) Index: skiboot.git/test/Makefile.check =================================================================== --- skiboot.git.orig/test/Makefile.check +++ skiboot.git/test/Makefile.check @@ -3,6 +3,10 @@ check: boot-check boot-check: skiboot.lid ./test/run_boot_test.sh +build-check: + rm -rf buildtest && mkdir buildtest + make SRC=$(PWD) -f ../Makefile -C buildtest + OP_BUILD_BOOT_CHECK=op-build-v1.0 op-build-v1.1 op-build-v1.2 op-build-v1.2.1 boot-check-%: skiboot.lid skiboot.map Index: skiboot.git/.travis.yml =================================================================== --- skiboot.git.orig/.travis.yml +++ skiboot.git/.travis.yml @@ -17,4 +17,4 @@ env: - HOSTCC=gcc-4.8 script: - - make && make check + - make && make check && make clean build-check