From owner-svn-src-all@freebsd.org Mon Feb 5 21:29:28 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12530EF1708; Mon, 5 Feb 2018 21:29:28 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B61288A5DD; Mon, 5 Feb 2018 21:29:27 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B0CDA65D8; Mon, 5 Feb 2018 21:29:27 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w15LTRvE087322; Mon, 5 Feb 2018 21:29:27 GMT (envelope-from kevans@FreeBSD.org) Received: (from kevans@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w15LTR9f087321; Mon, 5 Feb 2018 21:29:27 GMT (envelope-from kevans@FreeBSD.org) Message-Id: <201802052129.w15LTR9f087321@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevans set sender to kevans@FreeBSD.org using -f From: Kyle Evans Date: Mon, 5 Feb 2018 21:29:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r328902 - stable/11/tools/boot X-SVN-Group: stable-11 X-SVN-Commit-Author: kevans X-SVN-Commit-Paths: stable/11/tools/boot X-SVN-Commit-Revision: 328902 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Feb 2018 21:29:28 -0000 Author: kevans Date: Mon Feb 5 21:29:27 2018 New Revision: 328902 URL: https://svnweb.freebsd.org/changeset/base/328902 Log: MFC r342882,r324979,r325115: sys/boot test scripts [Note: arm/armv7 has been removed in the interest of not having a failing architecture from the start] MFC r342882: Create a shell script to build sys/boot on all the architectures. MFC r324979: Do a chdir to SRCTOP/sys/boot before starting the run. MFC r325115: Fix parallel build issues and add MK_ZFS=no case Added: stable/11/tools/boot/ - copied from r324882, head/tools/boot/ Modified: stable/11/tools/boot/universe.sh Directory Properties: stable/11/ (props changed) Modified: stable/11/tools/boot/universe.sh ============================================================================== --- head/tools/boot/universe.sh Sun Oct 22 22:52:23 2017 (r324882) +++ stable/11/tools/boot/universe.sh Mon Feb 5 21:29:27 2018 (r328902) @@ -19,9 +19,12 @@ # Output is put into _.boot.$TARGET_ARCH.log in sys.boot. # +top=$(make -V SRCTOP) +cd $top/sys/boot + for i in \ amd64/amd64 \ - arm/arm arm/armeb arm/armv7 \ + arm/arm arm/armeb \ arm64/aarch64 \ i386/i386 \ mips/mips mips/mips64 \ @@ -30,9 +33,33 @@ for i in \ ; do ta=${i##*/} echo -n "Building $ta..." - ( ( make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make -j 20 clean cleandepend cleandir obj depend all" \ - > _.boot.${ta}.log 2>&1 ) && echo Success ) || echo Fail + if ! make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make clean cleandepend cleandir obj depend" \ + > _.boot.${ta}.log 2>&1; then + echo "Fail (cleanup)" + continue + fi + if ! make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make -j 20 all" \ + >> _.boot.${ta}.log 2>&1; then + echo "Fail (build)" + continue + fi + echo "Success" done - - - +for i in \ + amd64/amd64 \ + i386/i386 \ + ; do + ta=${i##*/} + echo -n "Building $ta MK_ZFS=no..." + if ! make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make clean cleandepend cleandir obj depend" \ + > _.boot.${ta}.noZFS.log 2>&1; then + echo "Fail (cleanup)" + continue + fi + if ! make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make MK_ZFS=no -j 20 all" \ + >> _.boot.${ta}.noZFS.log 2>&1; then + echo "Fail (build)" + continue + fi + echo "Success" +done