tests: Allow arguments to be passed to debos

Currently we assume all of the tests are run without fakemachine;
since we are looking to run the tests with fakemachine as well,
let's allow arguments to be passed to the test script which are
then passed to debos.

Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
This commit is contained in:
Christopher Obbard
2021-07-07 16:54:55 +01:00
committed by Sjoerd Simons
parent 1b94c80ef7
commit 9bb2764c12
2 changed files with 2 additions and 1 deletions

View File

@@ -12,3 +12,4 @@ services:
target: /recipes
working_dir: /recipes
entrypoint: ./tests.sh
command: --disable-fakemachine

View File

@@ -3,6 +3,6 @@ set -e
for dir in simple subdirs separatedirs ; do
pushd ${dir}
debos --disable-fakemachine main.yaml
debos $@ main.yaml
popd
done