aboutsummaryrefslogtreecommitdiffstats
path: root/testing-drivers/src
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-03-05 22:03:12 +0000
committerwisberg <wisberg>2003-03-05 22:03:12 +0000
commitd493883dc0a1b6d766c7b849ee9f58274064cbbe (patch)
tree5592ab18fcf531665b81cb5f6381054977e7d0f2 /testing-drivers/src
parentcb775240056309c20aac308be5ab2abd9696be84 (diff)
downloadaspectj-d493883dc0a1b6d766c7b849ee9f58274064cbbe.tar.gz
aspectj-d493883dc0a1b6d766c7b849ee9f58274064cbbe.zip
new -release option alias for harness
Diffstat (limited to 'testing-drivers/src')
-rw-r--r--testing-drivers/src/org/aspectj/testing/drivers/Harness.java24
1 files changed, 19 insertions, 5 deletions
diff --git a/testing-drivers/src/org/aspectj/testing/drivers/Harness.java b/testing-drivers/src/org/aspectj/testing/drivers/Harness.java
index efa070d78..8c35d29ab 100644
--- a/testing-drivers/src/org/aspectj/testing/drivers/Harness.java
+++ b/testing-drivers/src/org/aspectj/testing/drivers/Harness.java
@@ -83,6 +83,7 @@ public class Harness {
* including the two-space leader
*/
protected static final String SYNTAX_PAD = " ";
+ protected static final String OPTION_DELIM = ";";
private static final String JAVA_VERSION;
private static final String ASPECTJ_VERSION;
static {
@@ -378,7 +379,7 @@ public class Harness {
if (null != aliases) {
String args = aliases.getProperty(option);
if (!LangUtil.isEmpty(args)) {
- return LangUtil.commaSplit(args);
+ return LangUtil.anySplit(args, OPTION_DELIM);
}
}
return null;
@@ -542,10 +543,23 @@ public class Harness {
class FeatureHarness extends Harness {
private static final String[] ALIASES = new String[]
- { "-hideStreams", "-hideCompilerStreams,-hideRunStreams",
- "-jim", "!eclipse,-logMinFail,-hideStreams",
- "-loud", "-verboseHarness",
- "-baseline", "-verboseHarness,-traceTestsMin,-hideStreams,!eclipse"
+ { "-hideStreams",
+ "-hideCompilerStreams"
+ + OPTION_DELIM + "-hideRunStreams",
+ "-jim",
+ "!eclipse"
+ + OPTION_DELIM + "-logMinFail"
+ + OPTION_DELIM + "-hideStreams",
+ "-loud",
+ "-verboseHarness",
+ "-baseline",
+ "-verboseHarness"
+ + OPTION_DELIM + "-traceTestsMin"
+ + OPTION_DELIM + "-hideStreams"
+ + OPTION_DELIM + "!eclipse",
+ "-release",
+ "-baseline"
+ + OPTION_DELIM + "-ajctestSkipKeywords=knownLimitations,purejava"
};
static {
Properties optionAliases = Harness.getOptionAliases();