Commit 08928dd0 authored by Stefan Behnel's avatar Stefan Behnel

Move the work directory of the examples tests into an 'examples/' subdirectory...

Move the work directory of the examples tests into an 'examples/' subdirectory to get it out of the way of the other test types.
parent 6b725ba8
......@@ -2515,8 +2515,9 @@ def runtests(options, cmd_args, coverage=None):
options.pythran_dir, add_embedded_test=True, stats=stats)
test_suite.addTest(filetests.build_suite())
if options.examples and languages:
examples_workdir = os.path.join(WORKDIR, 'examples')
for subdirectory in glob.glob(os.path.join(options.examples_dir, "*/")):
filetests = TestBuilder(subdirectory, WORKDIR, selectors, exclude_selectors,
filetests = TestBuilder(subdirectory, examples_workdir, selectors, exclude_selectors,
options, options.pyregr, languages, test_bugs,
options.language_level, common_utility_dir,
options.pythran_dir,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment