Merge pull request #35 from compudj/master
[ctf-testsuite.git] / README.md
index b8b057e62a47b2e968a8023dc3f28a375f8b22b7..52fabe8623555118610bdd978a0d407ad7a13dd3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,21 @@
 ctf-testsuite
 =============
 
-The Common Trace Format (CTF) testsuite is intended to validate the conformance of CTF readers.
\ No newline at end of file
+The Common Trace Format (CTF) test suite is intended to validate the
+conformance of CTF readers.
+
+To run the test suite:
+
+  1. Set the `CTF_READER_BIN` environment variable to your CTF reader
+    executable, e.g.:
+
+        export CTF_READER_BIN=my-ctf-reader
+
+  2. Execute the `run.sh` script found in the `tests/x.y` directory,
+     where `x.y` is the CTF specification's version you want to check,
+     e.g.:
+
+        ( cd tests/1.8 && ./run.sh )
+
+You may also set the `CTF_READER_OPTS` environment variable to options
+to pass to the CTF reader defined by `CTF_READER_BIN`.
This page took 0.023111 seconds and 4 git commands to generate.