Skip to content

Commit d1f7fe7

Browse files
author
mgricken
committed
Fixed the JLL tests. Now touching the class files in testFiles to make sure they have a more recent time stamp.
git-svn-id: file:///tmp/test-svn/trunk@5163 fe72c1cf-3628-48e9-8b72-1c46755d3cff
1 parent 35befa3 commit d1f7fe7

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

javalanglevels/build.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,15 @@
398398

399399

400400
<target name="do-test" depends="resolve-jvm-args">
401+
<!-- touch the class files in testFiles to make sure they have
402+
a more recent time stamp than their source files;
403+
otherwise, the unit tests will fail with a confusing
404+
"should not be null" failure -->
405+
<touch>
406+
<fileset dir="testFiles">
407+
<filename name="**/*.class" />
408+
</fileset>
409+
</touch>
401410
<echo message="Running all tests matching '${test-filter-string}' with command '${test-jvm}'" />
402411
<junit haltonfailure="${test-halt}" failureproperty="test-failed"
403412
fork="yes" forkmode="perTest" maxmemory="512M" jvm="${test-jvm}" dir="${basedir}">
336 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)