Activity log for bug #1409208

Date Who What changed Old value New value Message
2015-01-10 04:17:45 Mark Harmer bug added bug
2015-01-10 04:17:45 Mark Harmer attachment added unittest.patch https://bugs.launchpad.net/bugs/1409208/+attachment/4294992/+files/unittest.patch
2015-01-10 18:02:26 Mark Harmer description Running the DirUtilTests under Windows produces the following failures: ./src/dir-util-test.h:29: Error: Expected (result == std::string(cases[i][2])), found ("/foo/bar" != "bar") ./src/dir-util-test.h:29: Error: Expected (result == std::string(cases[i][2])), found ("/foo/bar/baz" != "bar/baz") ./src/dir-util-test.h:29: Error: Expected (result == std::string(cases[i][2])), found ("/foo/bar/baz" != "foo/bar/baz") This appears to be a result of assumptions made on the path separators. I've attached a patch that resolves this failure under Windows. Running the DirUtilTests under Windows produces the following failures: ./src/dir-util-test.h:29: Error: Expected (result == std::string(cases[i][2])), found ("/foo/bar" != "bar") ./src/dir-util-test.h:29: Error: Expected (result == std::string(cases[i][2])), found ("/foo/bar/baz" != "bar/baz") ./src/dir-util-test.h:29: Error: Expected (result == std::string(cases[i][2])), found ("/foo/bar/baz" != "foo/bar/baz") This appears to be a result of assumptions made on the path separators. I've attached a patch that resolves this failure under Windows. Reproduce Steps: 1. Run 'btool check' on the source checked out in Windows 2. This builds and runs the full CxxTest unittests, observe 10 test failures at the end. With the supplied patch this should drop to 9. I wasn't able to specify the individual test directly with the cxxtests executable created so the output will be polluted with other tests that are failing.
2015-01-10 19:08:03 Alvin Penner inkscape: status New Confirmed
2015-01-10 19:22:00 su_v tags build win32 win64
2015-01-10 19:23:06 su_v summary DirUtil UnitTest fails in Windows cxxtest: DirUtil UnitTest fails in Windows
2015-01-10 19:24:14 su_v inkscape: importance Undecided Medium
2015-02-01 16:47:15 Launchpad Janitor branch linked lp:inkscape
2015-02-01 16:50:53 Alvin Penner inkscape: status Confirmed Fix Committed
2015-05-04 02:33:50 su_v inkscape: milestone 0.92
2017-01-10 19:08:53 Bryce Harrington inkscape: status Fix Committed Fix Released