Lines Matching +full:- +full:pip +full:-
4 # SPDX-License-Identifier: Apache-2.0
41 (['--enable-ubsan'], '1')
49 args = ['-i', '--outdir', out_path, '-T', test_path] + \
53 ['-p'] * len(test_platforms), test_platforms
68 (['--enable-asan', '--enable-lsan'], '1')
76 args = ['-i', '--outdir', out_path, '-T', test_path] + \
80 ['-p'] * len(test_platforms), test_platforms
98 (['--enable-asan'], '1', True)
109 args = ['-i', '-W', '--outdir', out_path, '-T', test_path] + \
113 ['-p'] * len(test_platforms), test_platforms
133 args = ['-i', '--outdir', out_path, '-T', test_path] + \
135 ['-vvv'] + \
137 ['-p'] * len(test_platforms), test_platforms
139 ['--', '-list']
145 # Use of -list makes tests not run.
164 args = ['--outdir', out_path, '-T', path] + \
165 ['--extra-args', 'USE_CCACHE=0', '--extra-args', 'DUMMY=1'] + \
168 ['-p'] * len(test_platforms), test_platforms
180 pattern_cache = r'Calling cmake: [^\n]+ -DUSE_CCACHE=0 [^\n]+\n'
181 pattern_dummy = r'Calling cmake: [^\n]+ -DDUMMY=1 [^\n]+\n'
183 assert ' -DUSE_CCACHE=0 ' in twister_log
187 assert ' -DDUMMY=1 ' in twister_log
191 # This test is not side-effect free.
192 # It installs and uninstalls pytest-twister-harness using pip
193 # It uses pip to check whether that plugin is previously installed
199 ([], True, '1', ['By default Twister should work without pytest-twister-harness'
201 ' `pip uninstall pytest-twister-harness` and'
202 ' `git clean -dxf scripts/pylib/pytest-twister-harness`.']),
203 (['--allow-installed-plugin'], True, '0', ['You work with installed version'
204 ' of pytest-twister-harness plugin.']),
206 (['--allow-installed-plugin'], False, '0', []),
218 pth_path = os.path.join(ZEPHYR_BASE, 'scripts', 'pylib', 'pytest-twister-harness')
219 check_installed_command = [sys.executable, '-m', 'pip', 'list']
220 install_command = [sys.executable, '-m', 'pip', 'install', '--no-input', pth_path]
221 uninstall_command = [sys.executable, '-m', 'pip', 'uninstall', '--yes',
222 'pytest-twister-harness']
225 pth_path = os.path.join(ZEPHYR_BASE, 'scripts', 'pylib', 'pytest-twister-harness')
232 os.path.join(pth_path, 'src', 'pytest_twister_harness.egg-info'),
256 previously_installed = 'pytest-twister-harness' in check_installed_result.stdout
269 args = ['-i', '--outdir', out_path, '-T', test_path] + \
273 ['-p'] * len(test_platforms), test_platforms
284 # To restore previously-installed plugin as well as we can
299 args = ['-i', '--outdir', out_path, '-T', test_path] + \
300 ['--pytest-args=--custom-pytest-arg', '--pytest-args=foo',
301 '--pytest-args=--cmdopt', '--pytest-args=.'] + \
304 ['-p'] * len(test_platforms), test_platforms
320 (['--enable-valgrind'], '1')
328 args = ['-i', '--outdir', out_path, '-T', test_path] + \
332 ['-p'] * len(test_platforms), test_platforms