Commit aedcba93 authored by Antonio Terceiro's avatar Antonio Terceiro

debci-autopkgtest: don't hardcode autopkgtest arguments

This makes it possible to experiment with and change autopkgtest
arguments used in production without having to change the source code.
parent 68da755d
......@@ -9,7 +9,8 @@ fi
rc=0
autopkgtest \
--no-built-binaries --no-apt-fallback \
--no-built-binaries \
${debci_autopkgtest_args:-} \
"$@" || rc=$?
if [ -n "${debci_test_outputdir:-}" ]; then
......
......@@ -15,6 +15,7 @@ logs="$(mktemp --directory --tmpdir debci-localtest.XXXXXXXXXX)"
# debci-autopkgtest
export debci_suite
export debci_arch
export debci_autopkgtest_args
export debci_test_package="$pkg"
export debci_test_outputdir="$logs"
......
......@@ -60,6 +60,7 @@ process_package() {
# debci-autopkgtest
export debci_suite
export debci_arch
export debci_autopkgtest_args
export debci_test_package="$pkg"
export debci_test_outputdir="$adt_out_dir"
......
......@@ -163,6 +163,9 @@ debci_generate_index_lock=${debci_lock_dir}/debci-generate-index.lock
# data retention policy (numbers of days)
debci_data_retention_days=180
# extra arguments for autopkgtest
debci_autopkgtest_args="${debci_autopkgtest_args:-}"
for dir in \
"${debci_base_dir}/backends/${debci_backend}" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment