> On 17. Jul 2025, at 00:01, andy pugh <bodge...@gmail.com> wrote: > > On Wed, 16 Jul 2025 at 22:40, Bertho Stultiens <l...@vagrearg.org> wrote: > >> Both tests 1a and 2a have the entire lifetime of mb2hal in the >> 'expected' output file. The '-W' flag only waits for the component to >> become ready and does not wait until it is finished. > > True, but the failure was a file truncation (consistently) at: > > mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [3] pin_name > [mb2hal.Modbus_fnct_15.num_errors] > mb2hal create_each_mb_tx_hal_pins DEBUG: mb_tx_num [3] pin_name > [mb2hal.Modbus_fnct_15.00] > mb2hal create_each_mb_tx > > (In fact it was spookily consistent, to the character, My initial > thought was a problem in the sed filtering in the checkresult script) > >> That would then mean a race-condition between mb2hal and halrun being >> done. When halrun finishes first, then the checkresults action may not >> yet see all of the output that mb2hal needs to generate and the test fails. > > I have put a "sleep 1" in the checkresults script, but that doesn't > feel like a good solution.
Could it just be a buffering issue? > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers