poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: provide %c and %u8c formatting in pickle printf()


From: Jose E. Marchesi
Subject: Re: PATCH: provide %c and %u8c formatting in pickle printf()
Date: Sat, 05 Oct 2019 13:18:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

By the way, it would be good to expand the dump-*.pk tests in
testsuite/poke.cmd/ to cover ASCII dump and the corner cases we have
identified so far.

In a test file:

/* { dg-do run } */
/* { dg-data {c*} {0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80} } */

pk_dump_size = 8#B;
pk_dump_group_by = 2#B;
pk_dump_ruler = 0;
pk_dump_ascii = 0;

/* { dg-command { dump :from 0#B :group_by 8#B } } */
/* { dg-output "00000000: 1020304050607080" } */

The dg-data identifies the data that the Poke program has access to.
Any Poke code in the file is executed before dg-commands.
Adding the .pk file in the test subdirectory suffices.

Salud!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]