summaryrefslogtreecommitdiffstats
path: root/lib/toaster/tests/builds/README
diff options
context:
space:
mode:
Diffstat (limited to 'lib/toaster/tests/builds/README')
-rw-r--r--lib/toaster/tests/builds/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/toaster/tests/builds/README b/lib/toaster/tests/builds/README
new file mode 100644
index 000000000..a32721eb5
--- /dev/null
+++ b/lib/toaster/tests/builds/README
@@ -0,0 +1,14 @@
+# Running build tests
+
+These tests are to test the running of builds and the data produced by the builds.
+Your oe build environment must be sourced/initialised for these tests to run.
+
+The simplest way to run the tests are the following commands:
+
+$ . oe-init-build-env
+$ cd lib/toaster/ # path my vary but this is into toaster's directory
+$ DJANGO_SETTINGS_MODULE='toastermain.settings-test' ./manage.py test tests.builds
+
+Optional environment variables:
+ - TOASTER_DIR (where toaster keeps it's artifacts)
+ - TOASTER_CONF a path to the toasterconf.json file. This will need to be set if you don't execute the tests from toaster's own directory.