Lines Matching +full:op +full:- +full:mode
4 # SPDX-License-Identifier: Apache-2.0
71 def project_builder(mocked_instance, mocked_env, mocked_jobserver) -> ProjectBuilder:
77 def runners(project_builder: ProjectBuilder) -> dict:
119 "-DCONFIG_t=\"test\"",
120 "-Dcmake1=foo", "-Dcmake2=bar",
121 "-Dbasearg1", "-DSNIPPET_t=test",
122 "-Dhandler_arg1", "-Dhandler_arg2",
123 "-DCONF_FILE=a.conf;b.conf;c.conf",
124 "-DDTC_OVERLAY_FILE=x.overlay;y.overlay;z.overlay",
125 "-DOVERLAY_CONFIG=extra_overlay.conf "
282 'error - region overflow', 'error - image size exceed', 'error']
380 '-B' + os.path.join('build', 'dir'), '-DTC_RUNID=1', '-DTC_NAME=testcase',
381 '-DSB_CONFIG_COMPILER_WARNINGS_AS_ERRORS=y',
382 '-DEXTRA_GEN_EDT_ARGS=--edtlib-Werror', '-Gdummy_generator',
383 f'-DPython3_EXECUTABLE={pathlib.Path(sys.executable).as_posix()}',
384 '-S' + os.path.join('source', 'dir'),
386 '-DBOARD=<platform name>',
387 '-DSNIPPET=dummy snippet 1;ds2',
388 '-DMODULES=dummy_stage_1,ds2',
389 '-Pzephyr_base/cmake/package_helper.cmake']),
395 '-B' + os.path.join('build', 'dir'), '-DTC_RUNID=1', '-DTC_NAME=testcase',
396 '-DSB_CONFIG_COMPILER_WARNINGS_AS_ERRORS=n',
397 '-DEXTRA_GEN_EDT_ARGS=', '-Gdummy_generator',
398 f'-DPython3_EXECUTABLE={pathlib.Path(sys.executable).as_posix()}',
399 '-Szephyr_base/share/sysbuild',
400 '-DAPP_DIR=' + os.path.join('source', 'dir'),
402 '-DBOARD=<platform name>',
403 '-DSNIPPET=dummy snippet 1;ds2']),
873 {'op': 'filter'},
888 {'op': 'report', 'test': mock.ANY},
895 {'op': 'filter'},
910 {'op': 'report', 'test': mock.ANY},
917 {'op': 'filter'},
932 {'op': 'cmake', 'test': mock.ANY},
939 {'op': 'cmake'},
954 {'op': 'report', 'test': mock.ANY},
961 {'op': 'cmake'},
976 {'op': 'report', 'test': mock.ANY},
983 {'op': 'cmake'},
998 {'op': 'report', 'test': mock.ANY},
1005 {'op': 'cmake'},
1020 {'op': 'report', 'test': mock.ANY},
1027 {'op': 'cmake'},
1042 {'op': 'build', 'test': mock.ANY},
1049 {'op': 'build'},
1064 {'op': 'report', 'test': mock.ANY},
1071 {'op': 'build'},
1087 {'op': 'gather_metrics', 'test': mock.ANY},
1094 {'op': 'build'},
1109 {'op': 'report', 'test': mock.ANY},
1116 {'op': 'build'},
1132 {'op': 'gather_metrics', 'test': mock.ANY},
1139 {'op': 'build'},
1155 {'op': 'report', 'test': mock.ANY},
1162 {'op': 'gather_metrics'},
1177 {'op': 'run', 'test': mock.ANY},
1184 {'op': 'gather_metrics'},
1199 {'op': 'report', 'test': mock.ANY},
1206 {'op': 'gather_metrics'},
1221 {'op': 'report', 'test': mock.ANY},
1228 {'op': 'run'},
1244 {'op': 'report', 'test': mock.ANY, 'status': 'success', 'reason': 'OK'},
1251 {'op': 'run'},
1275 {'op': 'report'},
1290 {'op': 'cleanup', 'mode': 'device', 'test': mock.ANY},
1297 {'op': 'report'},
1312 {'op': 'cleanup', 'mode': 'passed', 'test': mock.ANY},
1319 {'op': 'report'},
1334 {'op': 'cleanup', 'mode': 'all', 'test': mock.ANY},
1341 {'op': 'report'},
1363 {'op': 'cleanup', 'mode': 'device'},
1385 {'op': 'cleanup', 'mode': 'passed'},
1407 {'op': 'cleanup', 'mode': 'all'},
1429 {'op': 'cleanup', 'mode': 'all'},
1474 'cleanup, device', 'cleanup, mode passed', 'cleanup, mode all',
1475 'cleanup, mode all, cmake build failure'
1708 # ┣ dummy_link_dir -> zephyr
1714 testsuite_extra_conf.write_text('dummy', 'utf-8')
1718 dummy_del.write_text('dummy', 'utf-8')
1722 config.write_text('dummy', 'utf-8')
1728 addition_al.write_text('dummy', 'utf-8')
2013 'INFO - Total complete: 20/ 25 80%' \
2026 'INFO - Total complete: 20/ 25 80%' \
2047 'INFO - Total complete: 20/ 25 80%'
2117 results_mock.done += value * (-1 if decrement else 1)
2120 results_mock.filtered_configs += value * (-1 if decrement else 1)
2123 results_mock.filtered_static += value * (-1 if decrement else 1)
2126 results_mock.filtered_runtime += value * (-1 if decrement else 1)
2129 results_mock.failed += value * (-1 if decrement else 1)
2132 results_mock.notrun += value * (-1 if decrement else 1)
2140 r'\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])',
2156 r'\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/]*[@-~])',
2182 '-DCONFIG_FOO=y',
2183 '-DCMAKE1=\"yes\"',
2184 '-DCMAKE2=n',
2185 '-DDUMMY_EXTRA=yes',
2186 '-Ddummy_handler',
2187 '-DCONF_FILE=extrafile1.conf;extrafile2.conf',
2188 '-DDTC_OVERLAY_FILE=overlay1.dtc;overlay2.dtc',
2189 f'-DOVERLAY_CONFIG=extra_overlay_conf ' \
2240 pb.run_build.assert_called_once_with(['--build', 'build_dir'])
2545 results_mock().iteration += value * (-1 if decrement else 1)
2637 tr.results.filtered_configs += value * (-1 if decrement else 1)
2640 tr.results.filtered_static += value * (-1 if decrement else 1)
2643 tr.results.error += value * (-1 if decrement else 1)
2646 tr.results.cases += value * (-1 if decrement else 1)
2649 tr.results.filtered_cases += value * (-1 if decrement else 1)
2690 (False, False, False, [{'op': 'cmake', 'test': mock.ANY}]),
2691 (False, False, True, [{'op': 'filter', 'test': mock.ANY},
2692 {'op': 'cmake', 'test': mock.ANY}]),
2693 (False, True, True, [{'op': 'run', 'test': mock.ANY},
2694 {'op': 'run', 'test': mock.ANY}]),
2695 (False, True, False, [{'op': 'run', 'test': mock.ANY}]),
2696 (True, True, False, [{'op': 'cmake', 'test': mock.ANY}]),
2697 (True, True, True, [{'op': 'filter', 'test': mock.ANY},
2698 {'op': 'cmake', 'test': mock.ANY}]),
2699 (True, False, True, [{'op': 'filter', 'test': mock.ANY},
2700 {'op': 'cmake', 'test': mock.ANY}]),
2701 (True, False, False, [{'op': 'cmake', 'test': mock.ANY}]),