In article <[email protected]>, MichaŠGórny <[email protected]> wrote: >Reduce the code duplication and improve maintainability of x86 register >tests by combining all of them to a single base function. >--- > tests/lib/libc/sys/t_ptrace_amd64_wait.h | 406 +--- > tests/lib/libc/sys/t_ptrace_i386_wait.h | 335 +-- > tests/lib/libc/sys/t_ptrace_x86_wait.h | 2417 ++++++++++------------ > 3 files changed, 1103 insertions(+), 2055 deletions(-)
That's a good start, but I'd also start using loops for some of the repetitive code for brevity. christos
