Lines Matching +full:- +full:- +full:coverage +full:- +full:tool

5 # SPDX-License-Identifier: Apache-2.0
83 ' --device-testing option.'], None),
86 ' --device-testing option.'], ImportError),
248 mock_child_neg1 = mock.Mock(pid=-1)
258 [mock.call(-1, signal.SIGTERM), mock.call(2, signal.SIGTERM)]
289 with mock.patch('builtins.open', mock.mock_open(read_data='-1')):
295 mock_kill.assert_called_once_with(-1, signal.SIGKILL)
420 ['valgrind', '--error-exitcode=2', '--leak-check=full',
421 f'--suppressions={ZEPHYR_BASE}/scripts/valgrind.supp',
422 '--log-file=build_dir/valgrind.log', '--track-origins=yes',
424 (False, True, False, 123, None, ['generator', '-C', 'build_dir', 'run', '--seed=123']),
563 'is_robot_test, coverage, isatty',
565 ids=['robot test', 'coverage', 'isatty']
571 coverage, argument
585 handler = BinaryHandler(mocked_instance, 'build', mock.Mock(coverage=coverage))
656 (3, 2, 0, 0, 3, -1, True, False, False, 1),
657 (4, 1, 0, 0, -1, -1, False, True, False, 0),
658 (5, 0, 1, 2, -1, 4, False, False, True, 3)
692 f'line no {idx}'.encode('utf-8') for idx in range(success_count)
738 readline=mock.Mock(return_value='\nline1\nline2\n'.encode('utf-8'))
905 'exception - no duts', 'no available duts']
976 def raise_timeout_fn(timeout=-1):
977 if raise_timeout and timeout != -1:
1037 handler.no -= 1
1064 ['generator_cmd', '-C', '$build_dir', 'flash']
1070 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir']
1073 '--dummy',
1076 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir',
1077 '--', '--dummy']
1080 '--dummy1,--dummy2',
1083 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir',
1084 '--', '--dummy1', '--dummy2']
1091 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir',
1092 '--runner', 'runner', 'param1', 'param2']
1099 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir',
1100 '--runner', 'pyocd', 'param1', 'param2', '--', '--dev-id', 12345]
1106 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir',
1107 '--runner', 'nrfjprog', 'param1', 'param2', '--', '--dev-id', 12345]
1113 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir',
1114 '--runner', 'openocd', 'param1', 'param2',
1115 '--', '--cmd-pre-init', 'hla_serial 12345']
1120 'STLINK-V3',
1121 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir',
1122 '--runner', 'openocd', 'param1', 'param2',
1123 '--', '--cmd-pre-init', 'hla_serial 12345']
1128 'EDBG CMSIS-DAP',
1129 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir',
1130 '--runner', 'openocd', 'param1', 'param2',
1131 '--', '--cmd-pre-init', 'cmsis_dap_serial 12345']
1137 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir',
1138 '--runner', 'jlink', '--dev-id', 12345,
1145 ['west', 'flash', '--skip-rebuild', '-d', '$build_dir',
1146 '--runner', 'stm32cubeprogrammer', '--tool-opt=sn=12345',
1158 ids=['generator', '--west-flash', 'one west flash value',
1160 'nrfjprog', 'openocd, STM32 STLink', 'openocd, STLINK-v3',
1161 'openocd, EDBG CMSIS-DAP', 'jlink', 'stm32cubeprogrammer']
1364 TwisterStatus.NONE, None, ["Terminating serial-pty:'Serial PTY'",
1365 "Terminated serial-pty:'Serial PTY', stdout:'', stderr:''"]),
1626 os.path.sep + 'qemu-fifo'
1644 assert result == ['dummy_cmd', '-C', 'sysbuild' + os.path.sep + 'dummy_dir',
1780 ('1\n' * 60).encode('utf-8'),
1791 ('1\n' * 60).encode('utf-8'),
1793 -1,
1824 '1\n2\n3\n4\n5\n'.encode('utf-8'),
1835 '1\n2\n3\n4\n5\n'.encode('utf-8'),
1846 '1\n2\n3\n4\n5\n'.encode('utf-8'),
1901 contents = str(pid).encode('utf-8')
2011 handler.fifo_fn = os.path.join('dummy', 'qemu-fifo')
2019 command = ['generator_cmd', '-C', os.path.join('cmd', 'path'), 'run']