Skip to content

Commit

Permalink
Tests: Replace prove by autotools tap runner
Browse files Browse the repository at this point in the history
This patch removes the dependency on the prove perl script
to run the TAP test suite. It replaces it with the autotools
shell TAP driver that only requires a shell and awk.

Custom arguments can be passed to the test runner with
env variables as follow:

  env LOG_DRIVER_FLAGS='--comments --ignore-exit' \
      TESTS='foo.test baz.test' make -e check

This tap driver also creates a log file for each test that
can then be used by another system to build a test report.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
  • Loading branch information
mjeanson authored and jgalar committed May 14, 2016
1 parent d631c37 commit 8366681
Show file tree
Hide file tree
Showing 9 changed files with 721 additions and 37 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Makefile.in
*.bz2
*.tar
*.class
*.trs
*.log
.dirstamp
configure
aclocal.m4
Expand Down Expand Up @@ -97,6 +99,7 @@ tests/regression/ust/python-logging/test_python_logging
/tests/regression/ust/baddr-statedump/prog
/tests/regression/ust/baddr-statedump/prog.debug
/tests/regression/ust/baddr-statedump/prog.strip
/tests/regression/ust/type-declarations/type-declarations
/tests/regression/ust/ust-dl/prog
/tests/regression/ust/ust-dl/libfoo.so.debug
/tests/utils/testapp/gen-ust-nevents/gen-ust-nevents
Expand Down
Loading

0 comments on commit 8366681

Please sign in to comment.