Gitweb urls are not safe for testdef_urls in lava-test-shell, hence use
testdef_repos instead of testdef_urls.
diff --git a/lava-submit.py b/lava-submit.py
index e3d88a4..17d82f2 100755
--- a/lava-submit.py
+++ b/lava-submit.py
@@ -109,7 +109,7 @@
hwpack_build_number, \
hwpack_file_name)
- git_base_url = "http://git.linaro.org/gitweb?p=ubuntu/test-definitions.git;a=blob_plain;f="
+ git_repo = "git://git.linaro.org/ubuntu/test-definitions.git"
# tests set specific to an image
tests = tests_nano
@@ -166,11 +166,14 @@
}]
if len(tests) > 0:
- tests = [git_base_url + x + ".yaml" for x in tests]
+ test_list = []
+ for test in tests:
+ test_list.append({"git-repo": git_repo,
+ "testdef": 'ubuntu/{0}.yaml'.format(test)})
actions.append({
"command": "lava_test_shell",
"parameters": {
- "testdef_urls": tests
+ "testdef_repos": test_list
}
})