Gtest (TestUCRTDepends.AppDir) fails even with a freshly cloned repo and install of Mozilla Build
Categories
(Testing :: GTest, defect, P3)
Tracking
(Not tracked)
People
(Reporter: pctopgs, Unassigned)
Details
Attachments
(1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36 Edg/83.0.478.56
Steps to reproduce:
I'm a beginner so I thought I might be doing something wrong here. When I posted this in riot, they suggest that I submit a bug report.
Windows 10 64 bit
16.0GB Memory
Open MozillaBuild, clone the mozilla-central repo and run gtest without touching any code.
hg clone https://hg.mozilla.org/mozilla-central/
cd mozilla-central
./mach gtest
Actual results:
[----------] Global test environment tear-down
[==========] 5494 tests from 389 test cases ran. (696132 ms total)
[ PASSED ] 5493 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TestUCRTDepends.AppDir
If I do
./mach gtest TestUCRTDepends.AppDir
I get:
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TestUCRTDepends
[ RUN ] TestUCRTDepends.AppDir
d:/dev/mozilla-source/mozilla-central/toolkit/library/gtest/TestUCRTDepends.cpp(56): error: Expected: (hFind) != (((HANDLE)(LONG_PTR)-1)), actual: FFFFFFFFFFFFFFFF vs FFFFFFFFFFFFFFFF
[ FAILED ] TestUCRTDepends.AppDir (1 ms)
[----------] 1 test from TestUCRTDepends (2 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (8 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] TestUCRTDepends.AppDir
Expected results:
I thought everything should pass the tests.
Updated•5 years ago
|
| Reporter | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
How is the patch related to this bug report. Am I missing something obvious?
| Reporter | ||
Comment 3•5 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #2)
How is the patch related to this bug report. Am I missing something obvious?
Oh crud I put the wrong bug number! I meant to put Bug 1265275. How do I change it to the correct bug number?
Comment 4•5 years ago
|
||
Comment on attachment 9160251 [details]
Bug 1648981 - ran mochitests after removing 'using namespace mozilla;' and 'using namespace mozilla::dom;' from PresentationCallbacks.cpp
Revision D81633 was moved to bug 1265275. Setting attachment 9160251 [details] to obsolete.
| Reporter | ||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
The severity field is not set for this bug.
:ahal, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Description
•