From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24261 invoked by alias); 18 Apr 2008 15:42:23 -0000 Received: (qmail 24250 invoked by uid 22791); 18 Apr 2008 15:42:22 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (83.160.170.119) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 18 Apr 2008 15:42:02 +0000 Received: from cc1341701-a.deven1.ov.home.nl ([82.72.26.122] helo=[192.168.1.107]) by gnu.wildebeest.org with esmtp (Exim 4.63) (envelope-from ) id 1Jmsiq-0008Fk-Ak for frysk@sourceware.org; Fri, 18 Apr 2008 17:41:58 +0200 Subject: [patch] Don't skip tests with TestLib/Case/Bed in the name From: Mark Wielaard To: frysk Content-Type: text/plain Date: Mon, 21 Apr 2008 08:32:00 -0000 Message-Id: <1208533312.3457.41.camel@dijkstra.wildebeest.org> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-3.fc8) Content-Transfer-Encoding: 7bit X-Spam-Score: -0.8 (/) X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00060.txt.bz2 Hi, I was working on some code and didn't see one of my test cases fail or pass after I changed something fundamental. Our build system filters out any tests that contains TestLib/Case/Bed in its class name. Which happens to be the case for frysk.stack.TestLibFunctionStepFrame. With the following patch only classes with explicitly that name get excluded: frysk-common/ChangeLog 2008-04-18 Mark Wielaard * Makefile.rules ($(GEN_SOURCENAME)/JUnitTests.java): Only exclude classes that are exactly named TestLib, TestCase or TestBed. Committed, Mark diff --git a/frysk-common/Makefile.rules b/frysk-common/Makefile.rules index 4a90e3a..d3ebe1f 100644 --- a/frysk-common/Makefile.rules +++ b/frysk-common/Makefile.rules @@ -354,9 +354,9 @@ $(GEN_SOURCENAME)/JUnitTests.java: files-java.list files-java.list \ | sed -e "s|$(srcdir)/||" -e "s|^./||" \ | grep -v \ - -e 'TestLib' \ - -e 'TestCase' \ - -e 'TestBed' \ + -e '\/TestLib\.java$$' \ + -e '\/TestCase\.java$$' \ + -e '\/TestBed\.java$$' \ | sed \ -e 's,/,.,g' \ -e 's,.java$$,.class,' \