[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail
From: |
Greg Chicares |
Subject: |
Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail |
Date: |
Sat, 3 Sep 2022 00:50:03 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 |
On 9/3/22 00:21, Greg Chicares wrote:
> On 9/2/22 21:20, Vadim Zeitlin wrote:
[...]
>> $ xvfb-run wine64 /opt/lmi/bin/wx_test.exe --ash_nazg
>> --data_path=Z:/opt/lmi/data
[...]
>> Does the command above also work for you, i.e. is the problem really
>> specific to the nychthemeral script, or does it hang for you too?
>
> No, it still fails when I copy and paste the command above
> (full copy of terminal session below), and it fails at exactly
> the same point as the nychthemeral test:
>
> paste_census: started
> paste_census: ERROR (Assertion
> '(lmi::ssize(grid_window->GetSelectedRows())) == (1)' failed (
> expected 1 vs observed 0). [wx_test_paste_census.cpp : 269] )
>
> after which every subsequent test fails.
However, if I run only the last five tests (i.e., those that
follow 'paste_census'), then only one of them fails:
/opt/lmi/bin[0]$xvfb-run wine64 /opt/lmi/bin/wx_test.exe --ash_nazg
--data_path=Z:/opt/lmi/data -t pdf_census -t pdf_illustration -t
validate_output_census -t validate_output_illustration -t validate_output_mec
Test files path '/opt/lmi/gui_test' doesn't exist--using current path instead.
0050:fixme:imm:ImeSetActiveContext (0x258090, 0): stub
0050:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000258090): stub
0024:fixme:imm:ImeSetActiveContext (0x268b20, 1): stub
0024:fixme:imm:ImmReleaseContext (0000000000010056, 0000000000268B20): stub
NOTE: starting the test suite
pdf_census: started
0024:fixme:event:wait_for_withdrawn_state window 0x600b0/a00007 wait timed out
time=2554ms (for pdf_census)
pdf_census: ok
pdf_illustration: started
0024:fixme:event:wait_for_withdrawn_state window 0x30088/a00009 wait timed out
time=3624ms (for pdf_illustration)
pdf_illustration: ok
validate_output_census: started
0024:fixme:event:wait_for_withdrawn_state window 0x70472/a00027 wait timed out
validate_output_census: ERROR (Assertion '0 <= row && row <
grid_table_->GetRowsCount()' fail
ed. [census_view.cpp : 1144] )
validate_output_illustration: started
0024:fixme:event:wait_for_withdrawn_state window 0xa043a/a00044 wait timed out
time=3558ms (for validate_output_illustration)
validate_output_illustration: ok
validate_output_mec: started
time=273ms (for validate_output_mec)
validate_output_mec: ok
time=13456ms (for all tests)
FAILURE: 1 out of 5 tests failed.
0024:fixme:event:wait_for_withdrawn_state window 0x10056/a00004 wait timed out
X connection to :99 broken (explicit kill or server shutdown).
X connection to :99 broken (explicit kill or server shutdown).
If I run the last six tests instead of the last five, by adding
"-t paste_census" to the command above, before the other "-t"
options, then all six tests fail, and they fail rapidly: the
final line,
[file /opt/lmi/local/include/wx-3.2/wx/testing.h, line 431]
appears almost instantaneously, whereas running only the last
five takes about ten seconds.
I get the same results if I run 'winecfg' to change the
"Windows Version" to {XP, 7, 8, 10}.
However, if I change DPI from 192 to 96, then your command
works as intended, and so does the command that I had adapted
from 'nychthemeral_test.sh'.
- Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail, Vadim Zeitlin, 2022/09/02
- Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail, Greg Chicares, 2022/09/02
- Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail,
Greg Chicares <=
- Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail, Vadim Zeitlin, 2022/09/03
- Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail, Greg Chicares, 2022/09/03
- Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail, Vadim Zeitlin, 2022/09/03
- Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail, Greg Chicares, 2022/09/03
- Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail, Vadim Zeitlin, 2022/09/04
- Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail, Greg Chicares, 2022/09/04
- Re: [lmi] [lmi-commits] master 3c3454d6 5/5: Allow GUI test to fail, Vadim Zeitlin, 2022/09/04