Module Name: src
Committed By: jruoho
Date: Mon Feb 13 04:43:25 UTC 2012
Added Files:
src/tests: README
Log Message:
Add a small note about the directory structure.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/tests/README
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/tests/README
diff -u /dev/null src/tests/README:1.1
--- /dev/null Mon Feb 13 04:43:25 2012
+++ src/tests/README Mon Feb 13 04:43:25 2012
@@ -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.