aboutsummaryrefslogtreecommitdiff
path: root/testdefs/server-unittest-run-buster.sh
blob: ff91fd7dafed65f6d7dcb3bdf43720c452dccc77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# dispatcher unit tests run

. ./testdefs/lava-common

sh -ex ./testdefs/server-unittest-setup-buster.sh

command 'source_directory' "ls ./lava"
cd lava
testcase 'test_directory' "ls ../functional"
testcase "commitlog" 'git --no-pager log -n1'
../functional/version-wrapper.py
${LAVA_SET} start unittests
testcase 'unittests' "../functional/server-unittests.sh"
${LAVA_SET} stop unittests