autotools: update README
@@ -6,20 +6,13 @@ This is a project skeleton that uses criterion tests with the TAP test driver.
Be sure to do the following to get similar setups to work:
-1. copy `tap-driver.sh` from your automake installation ([`autogen.sh:4-7`](autogen.sh#L4-L7)).
-2. create a wrapper script that contains the following ([`autogen.sh:12-15`](autogen.sh#L12-L15)):
-
- ```bash
- #!/bin/sh
- $1 -Otap:- --always-succeed 2>&1 >/dev/null
- ```
-
-3. Check for criterion ([`configure.ac:5-7`](configure.ac#L5-L7)).
-4. Check for awk ([`configure.ac:9`](configure.ac#L9)).
-5. Check for `tap-driver.sh` ([`configure.ac:14`](configure.ac#L14)).
-6. Set `LOG_COMPILER` to the path of the wrapper script created at step 2 ([`Makefile.am:2`](Makefile.am#L2)).
-7. Set `LOG_DRIVER` to a command running `tap-driver.sh` with our found awk ([`Makefile.am:5-6`](Makefile.am#L5-L6)).
-8. Register your test programs ([`Makefile.am:8-14`](Makefile.am#L8-L14)).
+1. Check for `Criterion` ([`configure.ac:5-7`](configure.ac#L5-L7)).
+1. Substitute the flags needed to link against `Criterion` ([`configure.ac:9-10`](configure.ac#L9-L10)).
+1. Check for `awk` ([`configure.ac:12`](configure.ac#L12)).
+1. Check for `tap-driver.sh` ([`configure.ac:17`](configure.ac#L17)).
+1. Set `LOG_DRIVER` to a command running `tap-driver.sh` with our found awk ([`Makefile.am:2-3`](Makefile.am#L2-L3)).
+1. Set `AM_TESTS_ENVIRONMENT` to ensure that `Criterion` outputs its results using TAP ([`Makefile.am:6-8`](Makefile.am#L6-L8)).
+1. Register your test program ([`Makefile.am:10-17`](Makefile.am#L10-L17)).
## Running the tests
