Issue 243539 in chromium: testGetUrlBaseDirAndFile* failing on windows

1 view
Skip to first unread message

chro...@googlecode.com

unread,
May 23, 2013, 7:42:44 PM5/23/13
to chromi...@chromium.org
Status: Assigned
Owner: to...@chromium.org
CC: d...@chromium.org, nd...@chromium.org
Labels: Type-Bug Pri-2 Cr-Tests-Telemetry Telemetry-Test-Fixit

New issue 243539 by to...@chromium.org: testGetUrlBaseDirAndFile* failing
on windows
http://code.google.com/p/chromium/issues/detail?id=243539

[ RUN ] TestPage.testGetUrlBaseDirAndFileForAbsolutePath
Traceback (most recent call last):

File "E:\b\build\slave\Chromium_Windows_Perf_Annotator\build\src\tools\telemetry\telemetry\page\page_unittest.py",
line 16, in testGetUrlBaseDirAndFileForAbsolutePath
self.assertEqual(serving_dirs, 'basedir/somedir/otherdir')
AssertionError: 'basedir\\somedir/otherdir' != 'basedir/somedir/otherdir'

[ FAILED ] TestPage.testGetUrlBaseDirAndFileForAbsolutePath (0 ms)
[ RUN ] TestPage.testGetUrlBaseDirAndFileForRelativePath
Traceback (most recent call last):

File "E:\b\build\slave\Chromium_Windows_Perf_Annotator\build\src\tools\telemetry\telemetry\page\page_unittest.py",
line 24, in testGetUrlBaseDirAndFileForRelativePath
self.assertEqual(serving_dirs, 'basedir/../../otherdir')
AssertionError: 'basedir\\../../otherdir' != 'basedir/../../otherdir'

[ FAILED ] TestPage.testGetUrlBaseDirAndFileForRelativePath (0 ms)
[ RUN ] TestPage.testGetUrlBaseDirAndFileForUrlBaseDir
Traceback (most recent call last):

File "E:\b\build\slave\Chromium_Windows_Perf_Annotator\build\src\tools\telemetry\telemetry\page\page_unittest.py",
line 37, in testGetUrlBaseDirAndFileForUrlBaseDir
self.assertEqual(filename, 'otherdir/file.html')
AssertionError: 'basedir\\../../somedir/otherdir/file.html' != 'otherdir/file.html'

[ FAILED ] TestPage.testGetUrlBaseDirAndFileForUrlBaseDir (0 ms)
[----------] 11 tests (0 ms total)

See:
http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Windows%20Perf%20Annotator/builds/2825/steps/telemetry_unittests/logs/stdio

This is most likely a result of my recent change to this method.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages