That pesky windows run-tests failure on the buildbot

Augie Fackler raf at durin42.com
Tue Dec 12 22:57:12 UTC 2017


Finally, some useful output:

+  --- $TESTTMP/anothertests/test-runtestdir.t
+  +++ $TESTTMP/anothertests/test-runtestdir.t.err
+  @@ -10,6 +10,7 @@
+   If this prints a path, that means RUNTESTDIR didn't equal
+   TESTDIR as it should have.
+     $ test "$RUNTESTDIR" = "G:\Users\test\projects\hg-default-x86_64\Win7_x86_64_hg_tests\build\tests" || echo "$RUNTESTDIR"
+  +  g:\Users\test\projects\hg-default-x86_64\Win7_x86_64_hg_tests\build\tests

Basically, it's failing because one of os.path.{abspath,dirname} is deciding to lowercase the drive letter. I suspect it's abspath, but I don't have a Windows machine handy to test against. Anyone got a clever idea on how to fix this?


More information about the Mercurial-devel mailing list