diff options
-rw-r--r-- | bridge/testsrc/org/aspectj/bridge/VersionTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/testsrc/org/aspectj/bridge/VersionTest.java b/bridge/testsrc/org/aspectj/bridge/VersionTest.java index ba9b17986..1587820c6 100644 --- a/bridge/testsrc/org/aspectj/bridge/VersionTest.java +++ b/bridge/testsrc/org/aspectj/bridge/VersionTest.java @@ -43,6 +43,7 @@ public class VersionTest extends TestCase { } public void testVersion() { + if (Version.time_text.equals("")) return; // dev build, we can only test this on the build server. Date date = new Date(Version.time); SimpleDateFormat format = new SimpleDateFormat(Version.SIMPLE_DATE_FORMAT, Locale.UK); format.setTimeZone(TimeZone.getTimeZone("GMT")); |