summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/README11
-rwxr-xr-xtest/run4
2 files changed, 15 insertions, 0 deletions
diff --git a/test/README b/test/README
index dfd83d631c..6cfee05019 100644
--- a/test/README
+++ b/test/README
@@ -5,6 +5,17 @@ U-Boot has a large amount of code. This file describes how this code is
tested and what tests you should write when adding a new feature.
+Running tests
+-------------
+
+To run most tests on sandbox, type this:
+
+ test/run
+
+in the U-Boot directory. Note that only the pytest suite is run using this
+comment.
+
+
Sandbox
-------
U-Boot can be built as a user-space application (e.g. for Linux). This
diff --git a/test/run b/test/run
new file mode 100755
index 0000000000..a6dcf8f44f
--- /dev/null
+++ b/test/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Run all tests
+./test/py/test.py --bd sandbox --build