From owner-svn-src-user@freebsd.org Fri Feb 3 08:15:25 2017 Return-Path: Delivered-To: svn-src-user@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C6F4CCDC7E for ; Fri, 3 Feb 2017 08:15:25 +0000 (UTC) (envelope-from pho@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 mx1.freebsd.org (Postfix) with ESMTPS id 09C141D01; Fri, 3 Feb 2017 08:15:24 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v138FOvg062648; Fri, 3 Feb 2017 08:15:24 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v138FNJr062646; Fri, 3 Feb 2017 08:15:23 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201702030815.v138FNJr062646@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Fri, 3 Feb 2017 08:15:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r313140 - in user/pho/stress2: . testcases X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2017 08:15:25 -0000 Author: pho Date: Fri Feb 3 08:15:23 2017 New Revision: 313140 URL: https://svnweb.freebsd.org/changeset/base/313140 Log: Older versions of FreeBSD does not allow the use of MK_DEBUG_FILES. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/run.sh user/pho/stress2/testcases/Makefile.inc Modified: user/pho/stress2/run.sh ============================================================================== --- user/pho/stress2/run.sh Fri Feb 3 07:54:15 2017 (r313139) +++ user/pho/stress2/run.sh Fri Feb 3 08:15:23 2017 (r313140) @@ -41,9 +41,12 @@ while getopts a name; do done shift $(($OPTIND - 1)) +[ -x ./testcases/run/run ] || + { echo "Please run \"make\" first." && exit 1; } [ `basename ${stress2origin:-X}` != misc ] && echo "Note: all.sh in stress2/misc is the preferred test to run." \ 1>&2 +find ./testcases -perm -1 \( -name "*.debug" -o -name "*.full" \) -delete if [ ! -z "$aflag" ]; then . ./default.cfg export runRUNTIME=5m @@ -76,7 +79,8 @@ else [ -z "$EXCLUDETESTS" ] && EXCLUDETESTS=DuMmY [ -z "$TESTPROGS" ] && \ - TESTPROGS=`find testcases/ -perm -1 -type f | egrep -v "/run/|$EXCLUDETESTS"` + TESTPROGS=`find testcases/ -perm -1 -type f | \ + egrep -v "/run/|$EXCLUDETESTS|\.full|\.debug"` #LD_PRELOAD=/usr/local/lib/libefence.so.0 ./testcases/run/run $TESTPROGS ./testcases/run/run $TESTPROGS fi Modified: user/pho/stress2/testcases/Makefile.inc ============================================================================== --- user/pho/stress2/testcases/Makefile.inc Fri Feb 3 07:54:15 2017 (r313139) +++ user/pho/stress2/testcases/Makefile.inc Fri Feb 3 08:15:23 2017 (r313140) @@ -3,6 +3,5 @@ NO_OBJ= LDADD+= -L../../lib -lstress -lutil DPADD+= ../../lib/libstress.a -CFLAGS =-g -Wall -Wextra -O2 -I../../include -I../include +CFLAGS =-Wall -Wextra -O2 -I../../include -I../include MAN= -MK_DEBUG_FILES=no