ELF Tool Chain/elftoolchain 4395trunk/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 4394trunk/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 4393trunk/tests/libtest/driver driver_main.c test_driver.1

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 4392trunk/tests/libtest/driver driver_main.c test_driver.1

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 4391trunk/tests/libtest/driver driver.c driver.h

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 4390trunk/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 4389trunk/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 4388trunk/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 4387trunk/tests/libtest/driver driver_main.c driver.h

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 4386trunk/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 4385trunk/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 4384trunk/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 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