Community
Participate
Working Groups
It looks like the core.resources tests are running "ln" on an unsupported platform when I run them on the Windows 7 machine at the foundation. https://hudson.eclipse.org/hudson/view/Eclipse%20and%20Equinox/job/eclipse-JUnit/lastCompletedBuild/testReport/org.eclipse.core.tests.internal.localstore/SymlinkResourceTest/testBug232426/ junit.framework.AssertionFailedError: createSymLink: java.io.IOException: Cannot run program "ln" (in directory "C:\Users\HUDSONBUILD\hudson\workspace\eclipse-JUnit\2010-10-26_11-53-11\eclipse-testing\test-eclipse\eclipse\core_resources_sniff_folder\Project0\a"): CreateProcess error=2, The system cannot find the file specified at org.eclipse.core.tests.harness.CoreTest.fail(CoreTest.java:63) Another thing, it looks like the testCopyAcrossVolumes test fails when both D:\temp and c:\temp don't exist. I talked to John about this and he suggested that the test should just not run if another volume doesn't exist. (I opened bug 328851 asking the foundation to create this temp directory) https://hudson.eclipse.org/hudson/view/Eclipse%20and%20Equinox/job/eclipse-JUnit/lastCompletedBuild/testReport/org.eclipse.core.tests.filesystem/FileStoreTest/testCopyAcrossVolumes/
The foundation webmaster has created e:\temp on the build machine, so could you update the tests to also check this directory when running the testCopyAcrossVolumes tests?
Created attachment 182204 [details] Fix "ln" problem Uses "mklink" on Windows7
Created attachment 182205 [details] Fix volumes problem Searches for volumes between c: and z: to copy between volumes
Kim, those are two separate errors, so I made two patches. 1. Check patch_328889_LN.txt on Wondows7 in should fix the "ln" problem. 2. patch_328889_Volumes.txt should fix problem if c:\temp of d:\temp could not be created. If there are any volumes between C: and Z: where \temp dir can be created and is not readonly the test will use those two volumes. If there are none the test is not performed. This should work as well for e:/temp directory created on the build machine you've mentioned.
Both patches released to HEAD. Thanks Gosia.