public inbox for
 help / color / mirror / Atom feed
From: Mark Wielaard <>
To: frysk <>
Subject: [patch] Don't skip tests with TestLib/Case/Bed in the name
Date: Mon, 21 Apr 2008 08:32:00 -0000	[thread overview]
Message-ID: <> (raw)


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:

2008-04-18  Mark Wielaard  <>

        * Makefile.rules ($(GEN_SOURCENAME)/
        Only exclude classes that are exactly named TestLib, TestCase or



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)/ 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,' \

                 reply	other threads:[~2008-04-18 15:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).