aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-25 20:12:40 +0000
committerwisberg <wisberg>2003-05-25 20:12:40 +0000
commitfffed25e1966af8b5ea57fcc7aab7ff012f4af76 (patch)
treedd508e56f80e35190259a1ee942bf1b0b12fa03d /testing
parent5ca7486fb05c879a1741928f8fd5466545232bd4 (diff)
downloadaspectj-fffed25e1966af8b5ea57fcc7aab7ff012f4af76.tar.gz
aspectj-fffed25e1966af8b5ea57fcc7aab7ff012f4af76.zip
PR-based queries were dominating - now do union correctly
Diffstat (limited to 'testing')
-rw-r--r--testing/src/org/aspectj/testing/harness/bridge/AjcTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java b/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java
index 55ec35258..e67eb8b9e 100644
--- a/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java
+++ b/testing/src/org/aspectj/testing/harness/bridge/AjcTest.java
@@ -343,6 +343,7 @@ public class AjcTest extends RunSpecIterator {
* <li>the spec does not have a required title (description)n</li>
* </ul>
* When skipping, this issues a messages as to why skipped.
+ * Skip combinations are not guaranteed to work correctly. XXX
* @return false if this wants to be skipped, true otherwise
* @throws Error if selected option is not of the form
* <pre>-ajctest[Require|Skip]Keywords=keyword{,keyword}..</pre>.
@@ -425,7 +426,7 @@ public class AjcTest extends RunSpecIterator {
String spec = (String) iter.next();
if (null != havePr) {
if (havePr.equals(spec)) { // String.equals()
- return true;
+ havePr = null;
}
} else if (keywordMustExist != keywords.contains(spec)) {
String reason = "keyword " + spec