Lines Matching refs:build_dir
468 with tempfile.TemporaryDirectory('') as build_dir:
469 tree = kunit_kernel.LinuxSourceTree(build_dir)
473 for line in tree.run_kernel(build_dir=build_dir):
477 with open(kunit_kernel.get_outfile_path(build_dir), 'rt') as outfile:
481 with tempfile.TemporaryDirectory('') as build_dir:
482 with open(kunit_kernel.get_kunitconfig_path(build_dir), 'w') as f:
485 tree = kunit_kernel.LinuxSourceTree(build_dir)
493 self.assertTrue(tree.build_reconfig(build_dir, make_options=[]))
494 mock_build_config.assert_called_once_with(build_dir, [])
497 with tempfile.TemporaryDirectory('') as build_dir:
499 with open(kunit_kernel.get_kunitconfig_path(build_dir), 'w') as f:
501 with open(kunit_kernel.get_old_kunitconfig_path(build_dir), 'w') as f:
503 with open(kunit_kernel.get_kconfig_path(build_dir), 'w') as f:
506 tree = kunit_kernel.LinuxSourceTree(build_dir)
513 self.assertTrue(tree.build_reconfig(build_dir, make_options=[]))
517 with tempfile.TemporaryDirectory('') as build_dir:
519 with open(kunit_kernel.get_kunitconfig_path(build_dir), 'w') as f:
521 with open(kunit_kernel.get_old_kunitconfig_path(build_dir), 'w') as f:
523 with open(kunit_kernel.get_kconfig_path(build_dir), 'w') as f:
526 tree = kunit_kernel.LinuxSourceTree(build_dir)
534 self.assertTrue(tree.build_reconfig(build_dir, make_options=[]))
535 mock_build_config.assert_called_once_with(build_dir, [])
616 args=None, build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=300)
624 args=None, build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=300)
648 args=None, build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=300)
689 …args=None, build_dir='.kunit', filter_glob='filter_glob', filter='', filter_action=None, timeout=3…
695 args=None, build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=timeout)
703 args=None, build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=timeout)
707 build_dir = '.kunit'
711 args=None, build_dir=build_dir, filter_glob='', filter='', filter_action=None, timeout=300)
715 build_dir = '.kunit'
716 kunit.main(['config', '--build_dir', build_dir])
720 build_dir = '.kunit'
722 kunit.main(['build', '--build_dir', build_dir])
723 self.linux_source_mock.build_kernel.assert_called_once_with(jobs, build_dir, None)
726 build_dir = '.kunit'
727 kunit.main(['exec', '--build_dir', build_dir])
729 args=None, build_dir=build_dir, filter_glob='', filter='', filter_action=None, timeout=300)
805 …args=['a=1','b=2'], build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=300)
817 …args=['kunit.action=list'], build_dir='.kunit', filter_glob='suite*', filter='', filter_action=Non…
828 …mock.call(args=None, build_dir='.kunit', filter_glob='suite.test*', filter='', filter_action=None,…
829 …mock.call(args=None, build_dir='.kunit', filter_glob='suite2.test*', filter='', filter_action=None…
841 …mock.call(args=None, build_dir='.kunit', filter_glob='suite.test1', filter='', filter_action=None,…
842 …mock.call(args=None, build_dir='.kunit', filter_glob='suite.test2', filter='', filter_action=None,…
843 …mock.call(args=None, build_dir='.kunit', filter_glob='suite2.test1', filter='', filter_action=None…