aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2015-11-20 03:24:04 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2015-11-20 03:24:04 +0000
commitd58d03e5758412b00e0bbc0ae62e0d67ff88a88b (patch)
tree728cc5eea590a12f12671a4798c3cae62e1b86dd /tests
parent8fd47ac11c2902e7a011728820418830a462a19d (diff)
downloadsrc-d58d03e5758412b00e0bbc0ae62e0d67ff88a88b.tar.gz
src-d58d03e5758412b00e0bbc0ae62e0d67ff88a88b.zip
Copy README into /usr/tests
Add a few sentences describing how to run the tests. Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D4224
Notes
Notes: svn path=/head/; revision=291089
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile3
-rw-r--r--tests/README15
2 files changed, 15 insertions, 3 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 8b3ccb1452ae..30b9692c1f49 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -9,6 +9,9 @@ SUBDIR_PARALLEL=
TESTSDIR= ${TESTSBASE}
KYUAFILE= yes
+FILES+= README
+FILESDIR_README= ${TESTSDIR}
+
afterinstall: install-tests-local
install-tests-local: .PHONY
${INSTALL_SYMLINK} ../local/tests ${DESTDIR}${TESTSDIR}/local
diff --git a/tests/README b/tests/README
index 416cea7f0aed..2102dd1f9b18 100644
--- a/tests/README
+++ b/tests/README
@@ -1,10 +1,19 @@
src/tests: The FreeBSD test suite
=================================
-This file describes the build infrastructure of the FreeBSD test suite.
-If you are only interested in using the test suite itself, please refer
-to tests(7) instead.
+To run the FreeBSD test suite:
+(1) Make sure that kyua is installed:
+ pkg install kyua
+(2) To run the tests:
+ kyua test -k /usr/tests/Kyuafile
+(3) To see the test results:
+ kyua report
+For further information on using the test suite, read tests(7):
+ man tests
+
+Description of FreeBSD test suite
+=================================
The build of the test suite is organized in the following manner:
* The build of all test artifacts is protected by the MK_TESTS knob.