ELF Tool Chain/elftoolchain 4383trunk/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 4382trunk/tests/libtest README.rst, trunk/tests/libtest/examples simple_example.c minimal_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 4381trunk/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 4380trunk/tests/libtest/bin make-test-scaffolding, trunk/tests/libtest/driver driver_main.c test_driver.1

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 4379trunk/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 4378trunk/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 4377trunk/tests/libtest/bin make-test-scaffolding, trunk/tests/libtest/lib test.h test_case.h

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

ELF Tool Chain/elftoolchain 4376trunk/tests/libtest/bin make-test-scaffolding, trunk/tests/libtest/examples simple_example.c minimal_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 4375trunk/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 4374trunk/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/driver/driver.h
+2-2trunk/tests/libtest/examples/simple_example.c
+23-234 files

ELF Tool Chain/elftoolchain 4373trunk/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 4372trunk/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 4371trunk/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

ELF Tool Chain/elftoolchain 4370trunk/ar ar.1

ar.1: Address mandoc -Tlint warnings.
DeltaFile
+12-12trunk/ar/ar.1
+12-121 files

ELF Tool Chain/elftoolchain 4369trunk/nm nm.1

nm.1: Address warnings from mandoc -Tlint.
DeltaFile
+1-2trunk/nm/nm.1
+1-21 files

ELF Tool Chain/elftoolchain 4368trunk/isa isa.1

isa.1: Fix mandoc -Tlint warnings.
DeltaFile
+13-11trunk/isa/isa.1
+13-111 files

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

libelftc/testsuite: Check test coverage of EM_* values.
DeltaFile
+22-2trunk/tests/tet/libelftc/tset/elftc_get_machine_name/elftc_get_machine_name.m4
+22-21 files

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

libelftc/testsuite: Test name translation of recently added EM_* values.
DeltaFile
+3-0trunk/tests/tet/libelftc/tset/elftc_get_machine_name/elftc_get_machine_name.m4
+3-01 files

ELF Tool Chain/elftoolchain 4365trunk/common/sys elfconstants.m4

elfconstants: Add EM_PPU (T-HEAD Parallel Processing Unit).

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

ELF Tool Chain/elftoolchain 4364trunk/mk elftoolchain.tet.mk

mk: Add a 'memcheck-test' target.

DeltaFile
+5-0trunk/mk/elftoolchain.tet.mk
+5-01 files

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

libelf/testsuite: Fix a -Wsigned-compare warning.
DeltaFile
+2-1trunk/tests/tet/libelf/tset/gelf_xlate/xlate.m4
+2-11 files

ELF Tool Chain/elftoolchain 4362trunk/addr2line addr2line.c, trunk/brandelf brandelf.c

Use a dedicated header for elftc_get_program_name(3).

This change allows the function to be used without needing
<libelf.h> (included via <libelftc.h>) to be present.
DeltaFile
+42-0trunk/libelftc/elftc_get_program_name.h
+2-2trunk/libelftc/elftc_get_program_name.3
+2-0trunk/elfdump/elfdump.c
+2-0trunk/addr2line/addr2line.c
+2-0trunk/brandelf/brandelf.c
+2-0trunk/cxxfilt/cxxfilt.c
+52-211 files not shown
+71-317 files

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

libelf/testsuite: Avoid the use of 'result' status variables.
DeltaFile
+112-156trunk/tests/tet/libelf/tset/gelf_xlate/xlate.m4
+112-1561 files

ELF Tool Chain/elftoolchain 4360trunk/tests/tet/libelf/tset/abi abi.m4, trunk/tests/tet/libelf/tset/elf_cntl cntl.m4

libelf/test-suite: Convert tests to not use 'result' variables.
DeltaFile
+61-114trunk/tests/tet/libelf/tset/elf_update/update.m4
+12-24trunk/tests/tet/libelf/tset/gelf_getehdr/ehdr.m4
+9-17trunk/tests/tet/libelf/tset/elf_cntl/cntl.m4
+5-9trunk/tests/tet/libelf/tset/elf_getbase/getbase.m4
+3-8trunk/tests/tet/libelf/tset/abi/abi.m4
+2-4trunk/tests/tet/libelf/tset/elf_hash/hash.m4
+92-1763 files not shown
+96-1879 files

ELF Tool Chain/elftoolchain 4359trunk/tests/tet/libelf/tset/common xlate_c_template.c elf_flag.m4, trunk/tests/tet/libelf/tset/elf_errmsg errmsg.m4

libelf/test-suite: Convert tests to not use 'result' variables.
DeltaFile
+42-70trunk/tests/tet/libelf/tset/common/xlate_c_template.c
+14-21trunk/tests/tet/libelf/tset/elf_getident/getident.m4
+5-18trunk/tests/tet/libelf/tset/elf_errmsg/errmsg.m4
+3-7trunk/tests/tet/libelf/tset/elf_update/update.m4
+3-7trunk/tests/tet/libelf/tset/elf_next/next.m4
+1-8trunk/tests/tet/libelf/tset/common/elf_flag.m4
+68-1319 files not shown
+71-14915 files

ELF Tool Chain/elftoolchain 4358trunk/tests/tet/libelf/tset/common xlate_template.m4

libelf/test-suite: Convert tests to not use 'result' variables.
DeltaFile
+33-67trunk/tests/tet/libelf/tset/common/xlate_template.m4
+33-671 files

ELF Tool Chain/elftoolchain 4357trunk/tests/tet/libdwarf/ts/dwarf_die_convenience dwarf_die_convenience.c, trunk/tests/tet/libdwarf/ts/dwarf_die_offset dwarf_die_offset.c

libdwarf/test-suite: Do not use 'result' variables for tracking test status.
DeltaFile
+20-31trunk/tests/tet/libdwarf/ts/dwarf_die_convenience/dwarf_die_convenience.c
+18-32trunk/tests/tet/libdwarf/ts/dwarf_lineno/dwarf_lineno.c
+20-29trunk/tests/tet/libdwarf/ts/dwarf_frame/dwarf_frame.c
+18-28trunk/tests/tet/libdwarf/ts/dwarf_form/dwarf_form.c
+11-27trunk/tests/tet/libdwarf/ts/dwarf_die_offset/dwarf_die_offset.c
+13-23trunk/tests/tet/libdwarf/ts/dwarf_siblingof/dwarf_siblingof.c
+100-17016 files not shown
+193-37822 files

ELF Tool Chain/elftoolchain 4356trunk/tests/tet/libelftc/tset/elftc_bfd_target elftc_bfd_target.m4, trunk/tests/tet/libelftc/tset/elftc_get_machine_name elftc_get_machine_name.m4

libelftc/test-suite: Avoid using 'result' variables.
DeltaFile
+30-80trunk/tests/tet/libelftc/tset/elftc_string_table/string_table.m4
+26-30trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name/elftc_get_relocation_type_name.m4
+8-21trunk/tests/tet/libelftc/tset/elftc_vector/elftc_vector.m4
+4-10trunk/tests/tet/libelftc/tset/elftc_get_machine_name/elftc_get_machine_name.m4
+2-6trunk/tests/tet/libelftc/tset/elftc_bfd_target/elftc_bfd_target.m4
+2-5trunk/tests/tet/libelftc/tset/elftc_version/elftc_version.m4
+72-1526 files

ELF Tool Chain/elftoolchain 4355trunk/tests/tet/libelf/tset/common ehdr_template.m4 newehdr_template.m4, trunk/tests/tet/libelf/tset/elf_begin begin.m4

libelf/test-suite: Remove an unneeded 'result' variable.
DeltaFile
+56-89trunk/tests/tet/libelf/tset/elf_begin/begin.m4
+23-33trunk/tests/tet/libelf/tset/gelf_newehdr/ehdr.m4
+14-27trunk/tests/tet/libelf/tset/common/ehdr_template.m4
+7-13trunk/tests/tet/libelf/tset/common/newehdr_template.m4
+4-4trunk/tests/tet/libelf/tset/common/gelf_ehdr_template.h
+2-2trunk/tests/tet/tet/common/elfts.m4
+106-1686 files

ELF Tool Chain/elftoolchain 4354trunk/tests/tet/libelf/tset/elf_begin begin.m4, trunk/tests/tet/libelf/tset/elf_errno errno.m4

libelf/test-suite: Improve the name of a helper macro.
DeltaFile
+14-14trunk/tests/tet/libelf/tset/elf_begin/begin.m4
+2-2trunk/tests/tet/tet/common/elfts.m4
+2-2trunk/tests/tet/libelf/tset/elf_errno/errno.m4
+18-183 files