From: Paul F. <pa...@so...> - 2025-07-24 20:41:54
|
https://sourceware.org/cgit/valgrind/commit/?id=13eb7509bf22b67ccca1b521e10f2984985d1b5d commit 13eb7509bf22b67ccca1b521e10f2984985d1b5d Author: Paul Floyd <pj...@wa...> Date: Thu Jul 24 22:41:11 2025 +0200 README_DEVELOPERS: add some description of scalar tests Diff: --- README_DEVELOPERS | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README_DEVELOPERS b/README_DEVELOPERS index 4444a17500..5bcb8ea87e 100644 --- a/README_DEVELOPERS +++ b/README_DEVELOPERS @@ -196,7 +196,18 @@ Make sure that the test runs and passes. The last file to change is .gitignore in the top directory. Add a new entry, for example "/tool/tests/newtest". -Check for mistakes in Makefile.am. In the top directory run +The 'scalar' tests are something of a special case. Scalar in this sense +refers to the registers (or stack slots) used to pas in arguments. These tests +directly use the 'syscall' syscall via a macro, SY. They make little effort +to use the sysall in a realistic manner. Rather, the objective is to +exhaustively test all of the arguemnts and referenced memory of syscalls. +A second macro, GO, is used precede the syscall (and subsequent errors) +with a header. The GO string includes the name of the syscall, a count of +expected scalar errors and a count of memory errors. + +When your test is done check for mistakes in Makefile.am. +In the top directory run + make post-regtest-checks You should only see |