Home
last modified time | relevance | path

Searched refs:build_dir (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/kunit/
H A Dkunit_kernel.py60 def make_olddefconfig(self, build_dir: str, make_options: Optional[List[str]]) -> None:
61 command = ['make', 'ARCH=' + self._linux_arch, 'O=' + build_dir, 'olddefconfig']
74 def make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> None:
76 'O=' + build_dir, '--jobs=' + str(jobs)]
96 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
117 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
118 kernel_path = os.path.join(build_dir, self._kernel_path)
146 def start(self, params: List[str], build_dir: str) -> subprocess.Popen:
148 linux_bin = os.path.join(build_dir, 'linux')
157 def get_kconfig_path(build_dir: str) -> str:
[all …]
H A Dkunit.py41 build_dir: str
55 build_dir: str
82 success = linux.build_reconfig(request.build_dir, request.make_options)
93 request.build_dir,
118 build_dir=request.build_dir)
137 build_dir=request.build_dir)
180 …metadata = kunit_json.Metadata(arch=linux.arch(), build_dir=request.build_dir, def_config='kunit_d…
194 build_dir=request.build_dir)
206 bd = request.build_dir
432 return kunit_kernel.LinuxSourceTree(cli_args.build_dir,
[all …]
H A Dkunit_tool_test.py468 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:
[all …]
H A Dkunit_json.py20 build_dir: str = '' variable in Metadata
54 "build_environment": metadata.build_dir,
/linux/scripts/
H A Ddiffconfig87 build_dir=""
89 build_dir = os.environ["KBUILD_OUTPUT"]+"/"
90 configa_filename = build_dir + ".config.old"
91 configb_filename = build_dir + ".config"
/linux/tools/testing/selftests/nolibc/
H A Drun-tests.sh147 build_dir="${build_location}/${arch}"
151 …make -j"${nproc}" XARCH="${arch}" CROSS_COMPILE="${cross_compile}" LLVM="${llvm}" O="${build_dir}")
153 mkdir -p "$build_dir"
154 if [ "$test_mode" = "system" ] && [ ! -f "${build_dir}/.config" ]; then
/linux/tools/testing/selftests/net/rds/
H A Drun.sh10 build_dir="$current_dir"
19 build_dir="$mk_build_dir"
25 ksrc_dir="$(realpath "$build_dir"/../../../../../)"
/linux/tools/perf/util/
H A Dsetup.py58 self.build_dir = build_lib
/linux/Documentation/dev-tools/kunit/
H A Dstart.rst32 through the argument ``--build_dir``. Hence, before starting an
81 ``.kunitconfig`` lives in the ``--build_dir`` used by kunit.py, which is
H A Darchitecture.rst183 (depends on the architecture and some options, for example: build_dir)
H A Drun_wrapper.rst247 - ``--build_dir``: Specifies kunit_tool build directory. It includes