Lines Matching refs:build_dir
469 with tempfile.TemporaryDirectory('') as build_dir:
470 tree = kunit_kernel.LinuxSourceTree(build_dir)
474 for line in tree.run_kernel(build_dir=build_dir):
478 with open(kunit_kernel.get_outfile_path(build_dir), 'rt') as outfile:
482 with tempfile.TemporaryDirectory('') as build_dir:
483 with open(kunit_kernel.get_kunitconfig_path(build_dir), 'w') as f:
486 tree = kunit_kernel.LinuxSourceTree(build_dir)
494 self.assertTrue(tree.build_reconfig(build_dir, make_options=[]))
495 mock_build_config.assert_called_once_with(build_dir, [])
498 with tempfile.TemporaryDirectory('') as build_dir:
500 with open(kunit_kernel.get_kunitconfig_path(build_dir), 'w') as f:
502 with open(kunit_kernel.get_old_kunitconfig_path(build_dir), 'w') as f:
504 with open(kunit_kernel.get_kconfig_path(build_dir), 'w') as f:
507 tree = kunit_kernel.LinuxSourceTree(build_dir)
514 self.assertTrue(tree.build_reconfig(build_dir, make_options=[]))
518 with tempfile.TemporaryDirectory('') as build_dir:
520 with open(kunit_kernel.get_kunitconfig_path(build_dir), 'w') as f:
522 with open(kunit_kernel.get_old_kunitconfig_path(build_dir), 'w') as f:
524 with open(kunit_kernel.get_kconfig_path(build_dir), 'w') as f:
527 tree = kunit_kernel.LinuxSourceTree(build_dir)
535 self.assertTrue(tree.build_reconfig(build_dir, make_options=[]))
536 mock_build_config.assert_called_once_with(build_dir, [])
617 args=None, build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=300)
625 args=None, build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=300)
649 args=None, build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=300)
690 …args=None, build_dir='.kunit', filter_glob='filter_glob', filter='', filter_action=None, timeout=3…
696 args=None, build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=timeout)
704 args=None, build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=timeout)
708 build_dir = '.kunit'
712 args=None, build_dir=build_dir, filter_glob='', filter='', filter_action=None, timeout=300)
716 build_dir = '.kunit'
717 kunit.main(['config', '--build_dir', build_dir])
721 build_dir = '.kunit'
723 kunit.main(['build', '--build_dir', build_dir])
724 self.linux_source_mock.build_kernel.assert_called_once_with(jobs, build_dir, None)
727 build_dir = '.kunit'
728 kunit.main(['exec', '--build_dir', build_dir])
730 args=None, build_dir=build_dir, filter_glob='', filter='', filter_action=None, timeout=300)
806 …args=['a=1','b=2'], build_dir='.kunit', filter_glob='', filter='', filter_action=None, timeout=300)
818 …args=['kunit.action=list'], build_dir='.kunit', filter_glob='suite*', filter='', filter_action=Non…
829 …mock.call(args=None, build_dir='.kunit', filter_glob='suite.test*', filter='', filter_action=None,…
830 …mock.call(args=None, build_dir='.kunit', filter_glob='suite2.test*', filter='', filter_action=None…
842 …mock.call(args=None, build_dir='.kunit', filter_glob='suite.test1', filter='', filter_action=None,…
843 …mock.call(args=None, build_dir='.kunit', filter_glob='suite.test2', filter='', filter_action=None,…
844 …mock.call(args=None, build_dir='.kunit', filter_glob='suite2.test1', filter='', filter_action=None…