aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-12-02 16:22:41 -0600
committerRob Landley <rob@landley.net>2018-12-02 16:22:41 -0600
commit01844db4fb92aa7ae6eb12b160f1978235a449d5 (patch)
tree0648e7610f459232285f96670d29befcc6a6933f /tests
parent4dad0aa2d9b1029d146ceea6b4d8425f68de61cc (diff)
downloadtoybox-01844db4fb92aa7ae6eb12b160f1978235a449d5.tar.gz
Merge runtest.sh into test.sh.
Diffstat (limited to 'tests')
-rw-r--r--tests/README.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/README.txt b/tests/README.txt
new file mode 100644
index 00000000..15d2ea2a
--- /dev/null
+++ b/tests/README.txt
@@ -0,0 +1,8 @@
+The build infrastructure adds a "make test_NAME" target for each NAME.test
+file in this directory, and "make tests" iterates through all of them.
+
+Individual tests boil down to a call to "scripts/test.sh NAME", and
+testing all is "scripts/test.sh" with no arguments.
+
+The test infrastructure, including the shell functions each test calls
+(mostly "testcmd" and "optional") is described in scripts/test.sh