Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests Add a small note about the directory structure.



details:   https://anonhg.NetBSD.org/src/rev/8007a17c6308
branches:  trunk
changeset: 773684:8007a17c6308
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Mon Feb 13 04:43:25 2012 +0000

description:
Add a small note about the directory structure.

diffstat:

 tests/README |  10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r c7d57f21a2ce -r 8007a17c6308 tests/README
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/README      Mon Feb 13 04:43:25 2012 +0000
@@ -0,0 +1,10 @@
+
+When adding new tests, please try to follow the directory structure of
+the real source tree. For instance, interfaces available via the C library
+should follow:
+
+       src/lib/libc/gen -> tests/lib/libc/gen
+       src/lib/libc/sys -> tests/lib/libc/sys
+
+Equivalently, tests for a program residing in src/usr.bin/program should be
+added to the tests/usr.bin/program subdirectory.



Home | Main Index | Thread Index | Old Index