Bug 149094 - Error running cppunit automated test.
Summary: Error running cppunit automated test.
Status: RESOLVED MOVED
Alias: None
Product: cppunit
Classification: Unclassified
Component: General (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Dev-Bugs
  Show dependency treegraph
 
Reported: 2022-05-15 08:04 UTC by tagezi
Modified: 2022-05-18 01:51 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Full log running (63.90 KB, text/plain)
2022-05-15 08:04 UTC, tagezi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tagezi 2022-05-15 08:04:44 UTC
Created attachment 180125 [details]
Full log running

Progress:
git clone https://gerrit.libreoffice.org/core libreoffice
./autogen.sh --enable-dbgutil --enable-debug --enable-symbols --with-help --with-symbol-config --with-lang="en" --with-locales="en ru "
make
make check

Expected Result:
Automatic execution of all CppUnit tests.

Actual result:
After successful passing of the test_vba.cxx:176:Assertion, an error occurs with the parameters

failures!!!
Run: 23 Failure total: 1 Failures: 1 Errors: 0

Error: a unit test failed, please do one of:

make CppunitTest_basic_macros CPPUNITTRACE="gdb --args"
    # for interactive debugging on Linux
make CppunitTest_basic_macros VALGRIND=memcheck
    # for memory checking
make CppunitTest_basic_macros DEBUGCPPUNIT=TRUE
    # for exception catching

You can limit the execution to just one particular test by:

make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...

make[1]: *** [/home/lera/project/libreoffice/solenv/gbuild/CppunitTest.mk:121: /home/lera/project/libreoffice/workdir/CppunitTest/basic_macros.test]

The full test execution log is in the attached file.

OS: Kubuntu 20.04
LO version: on commit 9b1dcd8f591edc6ed1a6db469956985b59badaf5
The error is reproduced stably.
Comment 1 Buovjaga 2022-05-15 08:14:56 UTC
Andreas: any idea about this as you recently did some work that seems related? Somehow it seems tagezi's system is producing strange results.
Comment 2 Andreas Heinisch 2022-05-15 14:36:33 UTC
It fails here, and atm I don't know why. I did not change any transliteration:

 Failed: StrConv("ABCDEVB¥ì¥¹¥­¥å©", vbWide) returned ABCDEVB¥ì¥¹¥­¥å©, expected ABCDEVB¥ì¥¹¥­¥å©
 Failed: StrConv("ï¼¡ï¼¢ï¼£ï¼¤ï¼ ï¼„ï¼…ï¼’ï¼“ï¼‡ï¼Ÿï¼¥ï¼§", vbNarrow) returned ï¼¡ï¼¢ï¼£ï¼¤ï¼ ï¼„ï¼…ï¼’ï¼“ï¼‡ï¼Ÿï¼¥ï¼§, expected ABCD@$%23'?EG
 Failed: StrConv("ã‹ãŸã‹ãª", vbKatakana) returned ã‹ãŸã‹ãª, expected カタカナ
 Failed: StrConv("カタカナ", vbHiragana) returned カタカナ, expected ã‹ãŸã‹ãª
Tests passed: 14
Tests failed: 4
Comment 3 himajin100000 2022-05-15 17:45:21 UTC Comment hidden (obsolete)
Comment 4 himajin100000 2022-05-15 18:57:45 UTC
what if you build and test with any of ja,zh,ko?
https://opengrok.libreoffice.org/search?full=HALFWIDTH_FULLWIDTH&project=core

like
--with-locales="en ru ja"
Comment 5 Xisco Faulí 2022-05-16 09:05:13 UTC
I believe this should be discussed in the development mailinglist.
@tagezi, could you please send an email to the dev list ?