diff options
| author | Robert Gemmell <robbie@apache.org> | 2011-09-25 20:22:41 +0000 |
|---|---|---|
| committer | Robert Gemmell <robbie@apache.org> | 2011-09-25 20:22:41 +0000 |
| commit | 69652a57b8093a667aef5aaf94bce919bab31d89 (patch) | |
| tree | 6fdb977cdff7e1a6a0f0e8c5fcef4cc534105b23 /qpid/java/common/src | |
| parent | 1c3245777904d0705f2943e5ae7fb19f039f4a6d (diff) | |
| download | qpid-python-69652a57b8093a667aef5aaf94bce919bab31d89.tar.gz | |
QPID-3402: fix excludes files to work with spaces etc in path, make SSL tests use relative path to keystore files to allow parsing the URLs containing them
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1175567 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common/src')
| -rw-r--r-- | qpid/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java b/qpid/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java index bde8bc68ad..e69f95f916 100644 --- a/qpid/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java +++ b/qpid/java/common/src/test/java/org/apache/qpid/test/utils/QpidTestCase.java @@ -65,7 +65,7 @@ public class QpidTestCase extends TestCase String exclusionListString = System.getProperties().getProperty("test.excludelist", ""); List<String> exclusionList = new ArrayList<String>(); - for (String uri : exclusionListURIs.split("\\s+")) + for (String uri : exclusionListURIs.split(";\\s*")) { File file = new File(uri); if (file.exists()) @@ -87,6 +87,10 @@ public class QpidTestCase extends TestCase _logger.warn("Exception when reading exclusion list", e); } } + else + { + _logger.info("Specified exclude file does not exist: " + uri); + } } if (!exclusionListString.equals("")) |
