ELF Tool Chain/elftoolchain 4400 — trunk/tests/tet/libelftc/tset/elftc_get_machine_name elftc_get_machine_name.m4

tests/libelftc: Catch-up with [r4399] (addition of EM_LST & EM_CHILI).

DeltaFile
+2-0trunk/tests/tet/libelftc/tset/elftc_get_machine_name/elftc_get_machine_name.m4
+2-01 files

ELF Tool Chain/elftoolchain 4399 — trunk/common/sys elfconstants.m4

Add EM_LST and EM_CHILI.

Obtained from:  The Generic ABI discussion list.
DeltaFile
+4-0trunk/common/sys/elfconstants.m4
+4-01 files

ELF Tool Chain/elftoolchain 4398 — trunk/libelftc libelftc_dem_arm.c libelftc_dem_gnu2.c

libelftc: fix const correctness for C23

On some platforms, Clang implements C23 behavior where passing
a const pointer to strchr() also returns a const pointer.
Fix the build of libelftc in such a build environment.

Obtained from: FreeBSD [85b07e977b04]
FreeBSD Review: https://reviews.freebsd.org/D58497
DeltaFile
+2-3trunk/libelftc/libelftc_dem_gnu2.c
+1-2trunk/libelftc/libelftc_dem_arm.c
+3-52 files

ELF Tool Chain/elftoolchain 4397 — trunk/tests/tet/libelf/tset/gelf_xlate xlate.m4

libelf/testsuite: Initialize structs prior to taking their addresses.

The functions being tested currently fail (as expected) without
accessing these structs.  This changelist however improves the
robustness of these tests if this implementation behavior were
to change in the future.

DeltaFile
+6-0trunk/tests/tet/libelf/tset/gelf_xlate/xlate.m4
+6-01 files

ELF Tool Chain/elftoolchain 4396 — trunk/tests/tet/libelf/tset/common phdr_template.c

libelf/testsuite: Do not print an uninitialized variable.
DeltaFile
+5-4trunk/tests/tet/libelf/tset/common/phdr_template.c
+5-41 files

ELF Tool Chain/elftoolchain 4395 — trunk/tests/libtest/bin make-test-scaffolding

libtest/make-test-scaffolding: Generate setup & teardown entries.
DeltaFile
+9-0trunk/tests/libtest/bin/make-test-scaffolding
+9-01 files

ELF Tool Chain/elftoolchain 4394 — trunk/tests/libtest/lib test_case.h

libtest: Support testcase-specific setup and teardown functions.
DeltaFile
+3-0trunk/tests/libtest/lib/test_case.h
+3-01 files

ELF Tool Chain/elftoolchain 4393 — trunk/tests/libtest/driver test_driver.1 driver_main.c

libtest: Simplify the output from the '-l' (list) option.

With this change the driver only lists tests that remain
selected for execution once the test selector arguments
present have been processed.

For help with debugging test selection, if verbose mode was
specified, the driver will also output the state transitions
as each test selector is processed.
DeltaFile
+16-5trunk/tests/libtest/driver/driver_main.c
+6-0trunk/tests/libtest/driver/test_driver.1
+22-52 files

ELF Tool Chain/elftoolchain 4392 — trunk/tests/libtest/driver driver.h driver.c

libtest: Simplify test selection.

Instead of requiring the user to specify selectors for test
cases and test functions separately, match test selectors
against the 'canonical names' for the tests in the executable.

Canonical test names use the form "TESTCASENAME:FUNCTIONNAME".

This change simplifies both the user-interface for test
selection and the code for implementing it in the driver
framework.
DeltaFile
+28-273trunk/tests/libtest/driver/driver_main.c
+68-78trunk/tests/libtest/driver/test_driver.1
+60-26trunk/tests/libtest/driver/driver.c
+42-35trunk/tests/libtest/driver/driver.h
+198-4124 files

ELF Tool Chain/elftoolchain 4391 — trunk/tests/libtest/driver driver.h driver.c

libtest: Minor code improvements.

- Check for NULL before calling free().
- Improve a comment.
DeltaFile
+4-2trunk/tests/libtest/driver/driver.c
+1-1trunk/tests/libtest/driver/driver.h
+5-32 files

ELF Tool Chain/elftoolchain 4390 — trunk/tests/libtest/driver driver_main.c

libtest: make a verbosity check more visible.
DeltaFile
+4-8trunk/tests/libtest/driver/driver_main.c
+4-81 files

ELF Tool Chain/elftoolchain 4389 — trunk/tests/libtest/driver test_driver.1

libtest: Improve the test_driver.1 manual page.

- Consistently use 'framework' instead of a mix of 'library'
  and 'utility'.
- Document the '-h' option supported by the test driver.
DeltaFile
+10-6trunk/tests/libtest/driver/test_driver.1
+10-61 files

ELF Tool Chain/elftoolchain 4388 — trunk/tests/libtest/driver test_driver.1

libtest: Align the test_driver(1) manual page with the code.
DeltaFile
+2-2trunk/tests/libtest/driver/test_driver.1
+2-21 files

ELF Tool Chain/elftoolchain 4387 — trunk/tests/libtest/driver driver.c driver_main.c

libtest: Shorten a few symbols to improve code readability.
DeltaFile
+8-8trunk/tests/libtest/driver/driver_main.c
+8-8trunk/tests/libtest/driver/driver.h
+2-2trunk/tests/libtest/driver/driver.c
+18-183 files

ELF Tool Chain/elftoolchain 4386 — trunk/tests/libtest/bin make-test-scaffolding

libtest: Remove redundant test case name prefixes from function names.
DeltaFile
+6-1trunk/tests/libtest/bin/make-test-scaffolding
+6-11 files

ELF Tool Chain/elftoolchain 4385 — trunk/tests/libtest/lib test.3

libtest: Document behavior with multiple calls to test_result(3).
DeltaFile
+5-1trunk/tests/libtest/lib/test.3
+5-11 files

ELF Tool Chain/elftoolchain 4384 — trunk/tests/libtest/driver driver_main.c

libtest: Add a 'help' option to test executables.
DeltaFile
+31-1trunk/tests/libtest/driver/driver_main.c
+31-11 files

ELF Tool Chain/elftoolchain 4383 — trunk/tests/libtest/lib Makefile

libtest: link test_result(3) to test(3).
DeltaFile
+3-0trunk/tests/libtest/lib/Makefile
+3-01 files

ELF Tool Chain/elftoolchain 4382 — trunk/tests/libtest README.rst, trunk/tests/libtest/examples minimal_example.c simple_example.c

libtest: Make it mandatory for test functions to call test_result(3).

Instead of returning an 'enum test_result' value, test
functions now call test_result() one or more times to report
test status.  Calls to test_result() with values indicating
test failure override prior 'pass' results.

This changes simplifies the implementation of test functions
that conduct the same test over a range of inputs.
DeltaFile
+89-32trunk/tests/libtest/lib/test.3
+68-30trunk/tests/libtest/lib/test.h
+62-30trunk/tests/libtest/README.rst
+22-1trunk/tests/libtest/lib/test.c
+6-6trunk/tests/libtest/examples/simple_example.c
+3-3trunk/tests/libtest/examples/minimal_example.c
+250-1021 files not shown
+252-1027 files

ELF Tool Chain/elftoolchain 4381 — trunk/tests/libtest/lib test.3

test.3: Catch up with the API changes in [r4378].
DeltaFile
+5-7trunk/tests/libtest/lib/test.3
+5-71 files

ELF Tool Chain/elftoolchain 4380 — trunk/tests/libtest/bin make-test-scaffolding, trunk/tests/libtest/driver test_driver.1 driver_main.c

libtest: Simplify the test(3) & test_driver(3) APIs.

- Signal errors in setup/teardown functions using a plain
  'bool'.
- Do not place test tags and test descriptions in the C
  source code for a test.  These are better placed elsewhere
  alongside other metadata associated with the test.
DeltaFile
+4-103trunk/tests/libtest/driver/driver_main.c
+17-78trunk/tests/libtest/examples/simple_example.c
+2-53trunk/tests/libtest/bin/make-test-scaffolding
+0-32trunk/tests/libtest/lib/test.h
+2-20trunk/tests/libtest/lib/test.3
+2-19trunk/tests/libtest/driver/test_driver.1
+27-3054 files not shown
+29-33010 files

ELF Tool Chain/elftoolchain 4379 — trunk/mk elftoolchain.test.mk

elftoolchain.test.mk: Clean generated object files.
DeltaFile
+2-0trunk/mk/elftoolchain.test.mk
+2-01 files

ELF Tool Chain/elftoolchain 4378 — trunk/tests/libtest/bin make-test-scaffolding, trunk/tests/libtest/lib test.h

libtest: simplify the protocol for test case setup/teardown.

Remove 'enum test_case_status': a true/false value suffices
to indicate setup and teardown failure.

DeltaFile
+11-29trunk/tests/libtest/lib/test.h
+1-0trunk/tests/libtest/bin/make-test-scaffolding
+12-292 files

ELF Tool Chain/elftoolchain 4377 — trunk/tests/libtest/bin make-test-scaffolding, trunk/tests/libtest/lib test_case.h test.h

libtest: Suffix more types with '_t'.
DeltaFile
+3-3trunk/tests/libtest/lib/test.h
+1-1trunk/tests/libtest/lib/test_case.h
+1-1trunk/tests/libtest/bin/make-test-scaffolding
+5-53 files

ELF Tool Chain/elftoolchain 4376 — trunk/tests/libtest/bin make-test-scaffolding, trunk/tests/libtest/examples minimal_example.c simple_example.c

libtest: Use an '_t' suffix for types.
DeltaFile
+16-16trunk/tests/libtest/lib/test.h
+10-10trunk/tests/libtest/examples/simple_example.c
+6-10trunk/tests/libtest/lib/test.3
+4-4trunk/tests/libtest/bin/make-test-scaffolding
+2-2trunk/tests/libtest/examples/minimal_example.c
+38-425 files

ELF Tool Chain/elftoolchain 4375 — trunk/tests/libtest/lib test.3

test.3: Catch up with [r4374]: use noun forms 'setup' & 'teardown'.
DeltaFile
+9-9trunk/tests/libtest/lib/test.3
+9-91 files

ELF Tool Chain/elftoolchain 4374 — trunk/tests/libtest README.rst, trunk/tests/libtest/driver driver.h

Grammar fix: use noun forms for 'setup' and 'teardown'.
DeltaFile
+14-14trunk/tests/libtest/lib/test.h
+5-5trunk/tests/libtest/README.rst
+2-2trunk/tests/libtest/examples/simple_example.c
+2-2trunk/tests/libtest/driver/driver.h
+23-234 files

ELF Tool Chain/elftoolchain 4373 — trunk/tools netbsd-base-system-import.sh

tools/netbsd-base-system-import.sh: use getopts correctly.

Reported by:    Robert Elz 
DeltaFile
+2-1trunk/tools/netbsd-base-system-import.sh
+2-11 files

ELF Tool Chain/elftoolchain 4372 — trunk/tools netbsd-base-system-import.sh

tools/netbsd-base-system-import.sh: Reduce verbosity during SVN checkouts.
DeltaFile
+1-1trunk/tools/netbsd-base-system-import.sh
+1-11 files

ELF Tool Chain/elftoolchain 4371 — trunk/tools netbsd-base-system-import.sh

tools/netbsd-base-system-import.sh: Implement a -rREV option.

This option allows a specified SVN revision to be imported
instead of SVN 'HEAD'.
DeltaFile
+9-4trunk/tools/netbsd-base-system-import.sh
+9-41 files