From 959158ab0457afc4454e637db89f9d16f8aad775 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 14 Oct 2014 09:57:57 +0200 Subject: controller: configuration cleanup Better define configuration and provide examples. * controller: Unpack results to correct directory, load the configuration from new place, call run_remote with proper arguments, generate 'results.html' with result_stats script. * ansible/run_include: Adjust to better simulate run_remote. * ansible/fedora.yml: Adjust for fixed configuration. * run_remote: Likewise. Also small issues with option parsing fixed. * config.sh.template: Moved as config/config.sh.template. * config/config.sh.template: Copyyed from /config.sh.template, better documented options. * run: Fix typo - use 'while read i' instead of 'for i in'. * config/os/EXAMPLE.sh: New file - exmaple configuration. * private/os/EXAMPLE.yml: Likewise. * config/hosts.template: Likewise. * dist.include: New file with file patterns that should be distributed to test machine. * dist: Distribute only those files which are necessary. * config/.gitignore: New gitignore file. --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run') diff --git a/run b/run index d4fb8d4..4e11dd5 100755 --- a/run +++ b/run @@ -163,7 +163,7 @@ test $dtf_option_listonly -ne 1 && prepare_resultdir dtf_resultxml_init "$dtf_resultxml_file" result=0 -for i in ; do +while read i; do testdir=$(dirname "$i") run "$testdir" || result=1 -- cgit