lcsim/test
diff -u -r1.13 -r1.14
--- HitPositionTest.java 3 Feb 2006 21:29:38 -0000 1.13
+++ HitPositionTest.java 16 Feb 2006 01:54:59 -0000 1.14
@@ -54,6 +54,7 @@
{
System.out.println("Running HitPositionTest on file: " + s);
+ try {
URL url = new URL(s);
FileCache cache = new FileCache();
File file = cache.getCachedFile(url);
@@ -64,6 +65,12 @@
loop.add(new HitPositionDriver());
loop.loop(maxEvents);
loop.dispose();
+ }
+ catch (Exception e)
+ {
+ System.err.println("HitPositionTest failed on file " + s);
+ throw new RuntimeException(e);
+ }
}
/** Collections to test. */