userland: try to make userland executable selection saner

Only allow existing files to be built, stop extension expansion madness.

cli_function: get_cli print booleans properly, was printing without --no-
for negations.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-05 00:00:00 +00:00
parent f1c3b64a55
commit eba97f9cef
11 changed files with 570 additions and 459 deletions

View File

@@ -43,7 +43,7 @@ If given, run only the given tests. Otherwise, run all tests.
self.env['emulator'] == 'gem5' and os.path.basename(path).startswith('semihost_') or
self.env['emulator'] == 'qemu' and os.path.basename(path).startswith('gem5_')
):
sources.append(os.path.relpath(path, self.env['baremetal_source_dir']))
sources.append(os.path.relpath(path, self.env['root_dir']))
else:
sources = self.env['tests']
for source in sources: