Fixed typo
Change-Id: I4c404f9cf6f462958efc21f51724a9882bf72712
This commit is contained in:
@@ -77,8 +77,7 @@ while clear_displays.poll() is None:
|
|||||||
sleep(1)
|
sleep(1)
|
||||||
|
|
||||||
# Generate the command for executing tests.
|
# Generate the command for executing tests.
|
||||||
cmd = ("sudo su - thread%s; export DISPLAY=:%s; pybot -C off -K off -d "
|
cmd = 'sudo su thread%s -c "export DISPLAY=:%s; pybot -C off -K off -d %s/%s"'
|
||||||
args.reports_dir + "/%s; exit")
|
|
||||||
if args.resources_dir:
|
if args.resources_dir:
|
||||||
cmd += " -v resources_path:" + args.resources_dir + " "
|
cmd += " -v resources_path:" + args.resources_dir + " "
|
||||||
|
|
||||||
@@ -90,7 +89,7 @@ if args.tags_list and args.script_name:
|
|||||||
for i, tag in enumerate(args.tags_list):
|
for i, tag in enumerate(args.tags_list):
|
||||||
xvfb = Xvfb()
|
xvfb = Xvfb()
|
||||||
xvfb.start()
|
xvfb.start()
|
||||||
values = (i, xvfb.vdisplay_num, i, tag)
|
values = (i, xvfb.vdisplay_num, args.reports_dir, i, tag)
|
||||||
threads.append(Popen(cmd % values, shell=True))
|
threads.append(Popen(cmd % values, shell=True))
|
||||||
while len(threads) == args.processes_count:
|
while len(threads) == args.processes_count:
|
||||||
wait_for_finished(threads)
|
wait_for_finished(threads)
|
||||||
|
|||||||
Reference in New Issue
Block a user