svn commit: r291089 - head/tests

Craig Rodrigues rodrigc at FreeBSD.org
Fri Nov 20 03:24:05 UTC 2015


Author: rodrigc
Date: Fri Nov 20 03:24:04 2015
New Revision: 291089
URL: https://svnweb.freebsd.org/changeset/base/291089

Log:
  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

Modified:
  head/tests/Makefile
  head/tests/README

Modified: head/tests/Makefile
==============================================================================
--- head/tests/Makefile	Fri Nov 20 02:23:35 2015	(r291088)
+++ head/tests/Makefile	Fri Nov 20 03:24:04 2015	(r291089)
@@ -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

Modified: head/tests/README
==============================================================================
--- head/tests/README	Fri Nov 20 02:23:35 2015	(r291088)
+++ head/tests/README	Fri Nov 20 03:24:04 2015	(r291089)
@@ -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.


More information about the svn-src-all mailing list