From: Mark Wielaard <mark@klomp.org>
To: frysk <frysk@sourceware.org>
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: <1208533312.3457.41.camel@dijkstra.wildebeest.org> (raw)
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 <mwielaard@redhat.com>
* 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,' \
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1208533312.3457.41.camel@dijkstra.wildebeest.org \
--to=mark@klomp.org \
--cc=frysk@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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).