* [patch] Don't skip tests with TestLib/Case/Bed in the name
@ 2008-04-21 8:32 Mark Wielaard
0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2008-04-21 8:32 UTC (permalink / raw)
To: frysk
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,' \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-18 15:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-21 8:32 [patch] Don't skip tests with TestLib/Case/Bed in the name Mark Wielaard
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).