3335
3335
if not os.path.isfile(bzr_path):
3336
3336
# We are probably installed. Assume sys.argv is the right file
3338
3342
fd, test_list_file_name = tempfile.mkstemp()
3339
3343
test_list_file = os.fdopen(fd, 'wb', 1)
3340
3344
for test in process_tests:
3341
3345
test_list_file.write(test.id() + '\n')
3344
argv = [bzr_path, 'selftest', '--load-list', test_list_file_name,
3348
argv = bzr_path + ['selftest', '--load-list', test_list_file_name,
3346
3350
if '--no-plugins' in sys.argv:
3347
3351
argv.append('--no-plugins')