aboutsummaryrefslogtreecommitdiff
path: root/testdefs/dispatcher-unittest-run-buster.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testdefs/dispatcher-unittest-run-buster.sh')
-rwxr-xr-xtestdefs/dispatcher-unittest-run-buster.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/testdefs/dispatcher-unittest-run-buster.sh b/testdefs/dispatcher-unittest-run-buster.sh
new file mode 100755
index 0000000..995d68b
--- /dev/null
+++ b/testdefs/dispatcher-unittest-run-buster.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# dispatcher unit tests run
+
+. ./testdefs/lava-common
+
+sh -ex ./testdefs/dispatcher-unittest-setup-buster.sh
+
+command 'source_directory' "ls ./lava"
+cd lava
+testcase 'test_directory' "ls ../functional"
+git --no-pager log -n1
+../functional/version-wrapper.py
+testcase 'pep8' "pep8 --ignore E501 ."
+${LAVA_SET} start unittests
+testcase 'unittests' "../functional/dispatcher-unittests.sh"
+${LAVA_SET} stop unittests
+../functional/fixme-report.sh