[Bug 17810] New: Base unittests for chromium fail under Wine
http://bugs.winehq.org/show_bug.cgi?id=17810 Summary: Base unittests for chromium fail under Wine Product: Wine Version: 1.1.17 Platform: Other URL: http://chromium.org OS/Version: other Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: dank(a)kegel.com base_unittests.exe currently does not run to completion under wine. You can repeat the whole test by doing wget http://kegel.com/wine/base_unittests.tgz tar -xzvf base_unittests.tgz wine base_unittests.exe The first problem is that it hangs on DirectoryWatcherTest.NewFile. You can repeat this specific problem with wine base_unittests.exe --gtest_filter=DirectoryWatcherTest.NewFile -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17810 --- Comment #1 from Dan Kegel <dank(a)kegel.com> 2009-03-21 19:27:52 --- That one's because Wine's implementation of FindFirstChangeNotification requires the app to do a directory scan, which most apps do, but this unit test doesn't. You can skip past this failure with --gtest_filter=-DirectoryWatcherTest.* The next problem was ReadOnlyFileUtilTest.ContentsEqual which fails and crashes because it's missing some data files. I have reuploaded a new tarball that includes the needed data files plus the source. New procedure: wget http://kegel.com/wine/base_unittests.tgz tar -xzvf base_unittests.tgz wine chrome/Debug/base_unittests.exe The next problem that keeps the test from giving a result is ProcessUtilTest.EnableLFH which dies with wine: Call from 0x48e36c to unimplemented function KERNEL32.dll.HeapQueryInformation, aborting You can skip both fatal errors with --gtest_filter=-DirectoryWatcherTest.*:ProcessUtilTest.EnableLFH After that, the tests run to completion, with the following failures: [ FAILED ] FileUtilTest.CountFilesCreatedAfter [ FAILED ] FileUtilTest.ReplaceIllegalCharactersTest [ FAILED ] HMACTest.HmacSafeBrowsingResponseTest [ FAILED ] HMACTest.RFC2202TestCases [ FAILED ] HMACTest.HMACObjectReuse [ FAILED ] PEImageTest.EnumeratesPE [ FAILED ] SharedMemoryTest.Lock [ FAILED ] StatsTableTest.StatsCounterTimer [ FAILED ] StatsTableTest.StatsRate [ FAILED ] StatsTableTest.StatsScope [ FAILED ] StringUtilTest.ConvertBetweenCodepageAndWide [ FAILED ] BaseWinUtilTest.FormatMessageW [ FAILED ] WMIUtilTest.TestLocalConnectionSecurityBlanket [ FAILED ] WMIUtilTest.TestLocalConnectionNoSecurityBlanket [ FAILED ] WMIUtilTest.TestCreateClassMethod [ FAILED ] WMIUtilTest.TestLaunchProcess [ FAILED ] WordIteratorTest.BreakWord [ FAILED ] WordIteratorTest.BreakLine Each of these can be run individually, e.g. --gtest_filter=WordIteratorTest.BreakLine -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17810 --- Comment #2 from Dan Kegel <dank(a)kegel.com> 2009-03-22 13:37:53 --- Created an attachment (id=20075) --> (http://bugs.winehq.org/attachment.cgi?id=20075) .tar.rz of script to run each test individually with and without +relay, plus resulting logs. Decompress with runzip. Here are individual logs of each test. Looks like the FormatMessage one would be trivial to fix. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17810 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com Keywords| |source -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17810 --- Comment #3 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-10-12 06:33:06 --- I sent a patch which implements HeapQueryInformation: http://www.winehq.org/pipermail/wine-patches/2009-October/079827.html -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17810 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Dan Kegel <dank(a)kegel.com> 2009-10-12 17:46:05 --- Thanks, ProcessUtilTest.EnableLFH now passes. So the --gtest_filter to use is now just -DirectoryWatcherTest.* (although when valgrinding you also want to append :StatsTableTest.MultipleProcesses:TimeTicks.WinRollover because those two tests take forever). With that filter, the tests now run to completion, so I'm closing this bug, and opening new ones for individual failures that are worth fixing. With current chromium, you also need to run in the source tree to get src/base/data/file_version_info_unittest/FileVersionInfoTest1.dll (else FileVersionInfoTest.HardCodedProperties will crash) and you need to copy src/third_party/icu/icudt42.dll into the directory you're running in (else lots of tests will fail). The current list of failing tests is [ FAILED ] BaseWinUtilTest.FormatMessageW [ FAILED ] FileUtilTest.CountFilesCreatedAfter [ FAILED ] FileUtilTest.GetFileCreationLocalTime [ FAILED ] HMACTest.HMACObjectReuse [ FAILED ] HMACTest.HmacSafeBrowsingResponseTest [ FAILED ] HMACTest.RFC2202TestCases [ FAILED ] PEImageTest.EnumeratesPE [ FAILED ] ProcessUtilTest.GetAppOutput [ FAILED ] RSAPrivateKeyUnitTest.InitRandomTest [ FAILED ] RSAPrivateKeyUnitTest.PublicKeyTest [ FAILED ] RSAPrivateKeyUnitTest.ShortIntegers [ FAILED ] SignatureCreatorTest.BasicTest [ FAILED ] SignatureVerifierTest.BasicTest [ FAILED ] StackTrace.OutputToStream [ FAILED ] WMIUtilTest.TestCreateClassMethod [ FAILED ] WMIUtilTest.TestLaunchProcess [ FAILED ] WMIUtilTest.TestLocalConnectionNoSecurityBlanket [ FAILED ] WMIUtilTest.TestLocalConnectionSecurityBlanket -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17810 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Base unittests for chromium |Base unittests for chromium |fail under Wine |don't run to completion | |under Wine -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=17810 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2009-10-23 13:18:58 --- Closing bugs fixed in 1.1.32. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org