// Filter inclusions
String inclusionFilter = System.getProperty(ModelledSTSRunner.INCLUSION_FILTER);
for (ModelledSTSTest test : suite.getSortedChildren()) {
- boolean add = false;
+ boolean add = true;
if (exclusionFilter != null) {
String[] filters = exclusionFilter.split(",");
- if (!startsWithAny(test, filters)) {
- add = true;
+ if (startsWithAny(test, filters)) {
+ add = false;
}
}
if (inclusionFilter != null) {