Lines Matching +full:clean +full:- +full:command
4 # SPDX-License-Identifier: Apache-2.0
6 Blackbox tests for twister's command line functions changing the output files.
18 # pylint: disable=no-name-in-module
41 (['--clobber-output'], False, False),
42 (['--no-clean'], False, True),
43 (['--clobber-output', '--no-clean'], False, True),
45 ids=['clobber', 'do not clobber', 'do not clean', 'do not clobber, do not clean']
50 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \
53 ['-p'] * len(test_platforms), test_platforms
56 # We create an empty 'blackbox-out' to trigger the clobbering
69 expected_dirs = ['blackbox-out']
71 expected_dirs += ['blackbox-out.1']
86 args = ['-i', '--outdir', out_path, '-T', path] + \
87 ['--runtime-artifact-cleanup'] + \
90 ['-p'] * len(test_platforms), test_platforms
117 args = ['-i', '--outdir', out_path, '-T', path] + \
118 ['--short-build-path'] + \
119 ['--ninja'] + \
121 ['-p'] * len(test_platforms), test_platforms
149 # Where N is the length of non-flag space-delimited text section.
150 flag_pattern = r'(?:\S+(?: \\)?)+- '
157 calling_line = calling_line[::-1]
162 flag = reversed_flag[::-1]
165 if flag.startswith(' -B'):
173 if flag.startswith(' -DQEMU_PIPE='):
186 args = ['-i', '--outdir', out_path, '-T', path] + \
187 ['--prep-artifacts-for-testing'] + \
189 ['-p'] * len(test_platforms), test_platforms
200 # --build-only and normal run leave more files than --prep-artifacts-for-testing
210 args = ['-i', '--outdir', out_path, '-T', path] + \
211 ['--package-artifacts', package_path] + \
213 ['-p'] * len(test_platforms), test_platforms
245 args = ['-i', '--outdir', out_path, '-T', path] + \
246 ['--test-only'] + \
248 ['-p'] * len(test_platforms), test_platforms