aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Koning <askoning@gmail.com>2017-02-22 10:17:30 +0100
committerSander Koning <askoning@gmail.com>2017-02-22 10:17:30 +0100
commit233400eacba84ec33bfba5207481a6f5ec00aa65 (patch)
tree3d729f55696fe86bdb220b542e8ae621c91427c7
parentb7cede3c27e42351e72618c45fd5e960df0e0133 (diff)
downloadlombok-233400eacba84ec33bfba5207481a6f5ec00aa65.tar.gz
lombok-233400eacba84ec33bfba5207481a6f5ec00aa65.tar.bz2
lombok-233400eacba84ec33bfba5207481a6f5ec00aa65.zip
Make tests run if no (eclipse-generated?) bin/ folder exists
-rw-r--r--test/core/src/lombok/RunTestsViaEcj.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/src/lombok/RunTestsViaEcj.java b/test/core/src/lombok/RunTestsViaEcj.java
index 3f2698bb..775e825c 100644
--- a/test/core/src/lombok/RunTestsViaEcj.java
+++ b/test/core/src/lombok/RunTestsViaEcj.java
@@ -137,7 +137,7 @@ public class RunTestsViaEcj extends AbstractRunTests {
i.remove();
}
}
- classpath.add("bin");
+ if (new File("bin").exists()) classpath.add("bin");
classpath.add("dist/lombok.jar");
classpath.add("lib/test/commons-logging-commons-logging.jar");
classpath.add("lib/test/org.slf4j-slf4j-api.jar");