'71yAAeastmost.labels.points', '71yAAeastmost.labels', 'c005BA.labels', '181y-12bit-aaarrg-dark-detail-reduced.tif', '181y-12bit-aaarrg-mid-detail-reduced.tif', '181y-12bit-aaarrg-bright-reduced.tif', 'tidied-mhl-62yxUAS-lacZ0-reduced.tif.points.R', 'c061AG-small-section-z-max.tif', 'c061AG-small-section.tif'): destination = os.path.join(images_dir, filename) url = 'http://fiji.sc/test-data/' + urllib.quote(filename) if not os.path.exists(destination): print 'Downloading', filename urllib.urlretrieve(url, destination) if realpath(os.getcwd()) != realpath(ij_dir): print >> sys.stderr, "The tests must be run from", realpath(ij_dir) sys.exit(1) from org.junit.runner import JUnitCore JUnitCore.main(['math3d.TestEigenvalueDecompositions', \ 'distance.TestMutualInformation', \ 'distance.TestEuclidean', \ 'distance.TestCorrelation', \ 'landmarks.TestLoading', \ 'util.TestPenalty', \ 'vib.TestFastMatrix', \ 'tracing.Test2DTracing', \ 'tracing.Test3DTracing'])