tests: Start using the upstream C TAP harness
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 7 May 2012 20:52:16 +0000 (21:52 +0100)
committerDerrick Brashear <shadow@dementix.org>
Fri, 11 May 2012 23:36:44 +0000 (16:36 -0700)
commitc877c0b419d04a0e754f99b9d975f2229b660df5
tree104352b4d3f21b529d6c00b254081039c57ff6ac
parent319ec27236d40318819163ae10e897e4a3f7b50b
tests: Start using the upstream C TAP harness

Instead of bundling our own copies of Russ's C TAP Harness, start using
source pulled from his git repository using the src/external import
mechanism. Note that we are not currently building the floating
point (is_double) portion of the harness.

In the process of doing so, we also upgrade our test harness to the latest
upstream version, 1.11. This is somewhat problematic, as there have been
some significant code changes since the version bundled with OpenAFS.
Work around these by
   *) Referencing the basic.h header as <tests/tap/basic.h>, rather than
      just <tap/basic.h>, to match the new upstream layout
   *) Changing the include path so that the tests/ directory can be
      found within it.

Change-Id: I63efbb30248165e5729005b0a791e7eb7afb051d
Reviewed-on: http://gerrit.openafs.org/7374
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
27 files changed:
tests/HOWTO [deleted file]
tests/Makefile.in
tests/README
tests/auth/Makefile.in
tests/auth/authcon-t.c
tests/auth/keys-t.c
tests/auth/realms-t.c
tests/auth/superuser-t.c
tests/cmd/Makefile.in
tests/cmd/command-t.c
tests/opr/Makefile.in
tests/opr/jhash-t.c
tests/opr/queues-t.c
tests/opr/rbtree-t.c
tests/runtests.c [deleted file]
tests/rx/Makefile.in
tests/rx/event-t.c
tests/tap/.gitignore [new file with mode: 0644]
tests/tap/Makefile.in
tests/tap/basic.c [deleted file]
tests/tap/basic.h [deleted file]
tests/tap/libtap.sh [deleted file]
tests/util/Makefile.in
tests/util/exec-alt-t.c
tests/util/ktime-t.c
tests/volser/Makefile.in
tests/volser/vos-t.c