[GRADLE-512] trunk tests fail due to upper/lowercase inconsistency in path Created: 30/May/09 Updated: 04/Jan/13 Resolved: 31/Aug/09 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 0.8 |
Type: | Bug | ||
Reporter: | Daniel Mueller | Assignee: | Hans Dockter |
Resolution: | Fixed | Votes: | 0 |
Description |
30 tests fail on a clean trunk checkout built on my Mac. Checkout dir is /Users/dan/Source/External/svn/gradle-trunk, but tests have a path with lowercase ../source/.., instead of ../Source/.. (although it's strange that ../External/.. has the correct case). Observation: the difference is only for the first dir level under the userhome, which is probably used as a relative root in some places. Extract from './gradle -d dists' 21:25:53.733 addFailure(testMainWithQuietLoggingOptions, expected:</Users/dan/Source/External/svn/gradle-trunk> but was:</Users/dan/source/External/svn/gradle-trunk>) 21:25:53.736 endTest(testMainWithQuietLoggingOptions) 21:25:53.736 startTest(testMainWithNoProjectDependencyRebuild) 21:25:53.751 addFailure(testMainWithNoProjectDependencyRebuild, expected:</Users/dan/Source/External/svn/gradle-trunk> but was:</Users/dan/source/External/svn/gradle-trunk>) 21:25:53.767 endTest(testMainWithNoProjectDependencyRebuild) 21:25:53.767 startTest(testMainWithProjectDependencyTaskNames) 21:25:53.774 addFailure(testMainWithProjectDependencyTaskNames, expected:</Users/dan/Source/External/svn/gradle-trunk> but was:</Users/dan/source/External/svn/gradle-trunk>) 21:25:53.803 endTest(testMainWithProjectDependencyTaskNames) 21:25:53.803 startTest(testMainWithInfoLoggingOptions) 21:25:53.809 addFailure(testMainWithInfoLoggingOptions, expected:</Users/dan/Source/External/svn/gradle-trunk> but was:</Users/dan/source/External/svn/gradle-trunk>) 21:25:53.812 endTest(testMainWithInfoLoggingOptions) 21:25:53.813 startTest(testMainWithDebugLoggingOptions) 21:25:53.819 addFailure(testMainWithDebugLoggingOptions, expected:</Users/dan/Source/External/svn/gradle-trunk> but was:</Users/dan/source/External/svn/gradle-trunk>) 21:25:53.821 endTest(testMainWithDebugLoggingOptions) 21:25:53.822 startTest(testMainWithShowTasks) 21:25:53.865 addFailure(testMainWithShowTasks, expected:</Users/dan/Source/External/svn/gradle-trunk> but was:</Users/dan/source/External/svn/gradle-trunk>) 21:25:53.867 endTest(testMainWithShowTasks) 21:25:53.867 startTest(testMainWithShowTasksAndEmbeddedScript) 21:25:53.872 addFailure(testMainWithShowTasksAndEmbeddedScript, expected:</Users/dan/Source/External/svn/gradle-trunk> but was:</Users/dan/source/External/svn/gradle-trunk>) 21:25:53.875 endTest(testMainWithShowTasksAndEmbeddedScript) 21:25:53.876 startTest(testMainWithShowProperties) 21:25:53.880 addFailure(testMainWithShowProperties, expected:</Users/dan/Source/External/svn/gradle-trunk> but was:</Users/dan/source/External/svn/gradle-trunk>) 21:25:53.912 endTest(testMainWithShowProperties) 21:25:53.912 startTest(testMainWithShowDependencies) 21:25:53.917 addFailure(testMainWithShowDependencies, expected:</Users/dan/Source/External/svn/gradle-trunk> but was:</Users/dan/source/External/svn/gradle-trunk>) |
Comments |
Comment by Hans Dockter [ 31/Aug/09 ] |
We have moved the failing tests and the respective methods to test to different classes. On aspect of this is that the paths are constructed in a different way. That seems to have solved this problem. At least I can't reproduce this on my machine (Mac) any longer. |