Provide more meaningful error message
diff --git a/src/tests/junit/org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java b/src/tests/junit/org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java
index 24429cb..667db43 100644
--- a/src/tests/junit/org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java
+++ b/src/tests/junit/org/apache/tools/ant/taskdefs/optional/script/ScriptDefTest.java
@@ -170,6 +170,12 @@
             notCompiledDuration = System.nanoTime() - start;
         }
 
-        assertTrue(duration < notCompiledDuration);
+        assertTrue(
+            String.format(
+                "Compiled scripts should run faster (%d ns) than not compiled (%d ns) scripts.",
+                duration, notCompiledDuration
+	        ), 
+            duration < notCompiledDuration
+        );
     }
 }