Use a lava-test-shell entry for each test to run.
Workaround LAVA behavior: if a test fails, no results are available.
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
diff --git a/lava-submit.py b/lava-submit.py
index 823c113..0d8c129 100755
--- a/lava-submit.py
+++ b/lava-submit.py
@@ -205,20 +205,19 @@
if len(tests) > 0:
if distribution == 'quantal' or distribution == 'raring':
distribution = 'ubuntu'
- test_list = []
for test in tests:
- test_list.append(
+ test_list = [(
{'git-repo': git_repo,
'testdef': '{distribution:>s}/{test:>s}.yaml'.format(
- distribution=distribution, test=test)})
+ distribution=distribution, test=test)})]
- actions.append({
- 'command': 'lava_test_shell',
- 'parameters': {
- 'timeout': 18000,
- 'testdef_repos': test_list
- }
- })
+ actions.append({
+ 'command': 'lava_test_shell',
+ 'parameters': {
+ 'timeout': 18000,
+ 'testdef_repos': test_list
+ }
+ })
actions.append({
'command': 'submit_results',