Thanks for pointing this problem, it only happens when you run run-tests without filters (an empty test suite for charm tests shows up mysteriously). Fix added.
> I keep getting the following trace on with and without a deployment. (both
> with novarc file sourced.)
>
> Traceback (most recent call last):
> File "./run-tests", line 32, in <module>
> retval = run_tests.main(sys.argv[1:], sys.stdout, sys.stderr)
> File "/home/psivaa/temp/code-reviews/charm-tests/testing/run_tests.py", line
> 565, in main
> options.include_regexps, options.exclude_regexps)
> File "/home/psivaa/temp/code-reviews/charm-tests/testing/run_tests.py", line
> 448, in load_charm_tests
> suite.setCharmRoots()
> File "/home/psivaa/temp/code-reviews/charm-tests/testing/run_tests.py", line
> 356, in setCharmRoots
> s.charm_root = '/'.join(flat_tests[0].id().split('.')[:3])
> IndexError: list index out of range
>
>
> Marking the MP, needs fixing. Please feel free to ignore if i'm doing abs
> stupid :)
Sivaa,
Thanks for pointing this problem, it only happens when you run run-tests without filters (an empty test suite for charm tests shows up mysteriously). Fix added.
> I keep getting the following trace on with and without a deployment. (both main(sys. argv[1: ], sys.stdout, sys.stderr) psivaa/ temp/code- reviews/ charm-tests/ testing/ run_tests. py", line include_ regexps, options. exclude_ regexps) psivaa/ temp/code- reviews/ charm-tests/ testing/ run_tests. py", line oots() psivaa/ temp/code- reviews/ charm-tests/ testing/ run_tests. py", line flat_tests[ 0].id() .split( '.')[:3] )
> with novarc file sourced.)
>
> Traceback (most recent call last):
> File "./run-tests", line 32, in <module>
> retval = run_tests.
> File "/home/
> 565, in main
> options.
> File "/home/
> 448, in load_charm_tests
> suite.setCharmR
> File "/home/
> 356, in setCharmRoots
> s.charm_root = '/'.join(
> IndexError: list index out of range
>
>
> Marking the MP, needs fixing. Please feel free to ignore if i'm doing abs
> stupid :)