Home
last modified time | relevance | path

Searched +full:test +full:- +full:docs (Results 1 – 25 of 106) sorted by relevance

12345

/linux/drivers/gpu/drm/ci/
H A Dgitlab-ci.yml2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa
3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha 02337aec715c25dae7ff2479d986f831c77fe536
6 TARGET_BRANCH: drm-next
10 DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/mesa/deqp-runner.git
13 FDO_UPSTREAM_REPO: helen.fornazier/linux # The repo where the git-archive daily runs
14 MESA_TEMPLATES_COMMIT: &ci-templates-commit c6aeb16f86e32525fa630fb99c66c4f3e62fc3cb
16 CI_PRE_CLONE_SCRIPT: |-
17 set -o xtrace
18-L --retry 4 -f --retry-all-errors --retry-delay 60 -s ${DRM_CI_PROJECT_URL}/-/raw/${DRM_CI_COMMIT…
19 bash download-git-cache.sh
[all …]
/linux/Documentation/translations/zh_CN/
H A Dhow-to.rst1 .. SPDX-License-Identifier: GPL-2.0
8 - v1.0 2025 年 3 月 28 日,司延腾、慕冬亮共同编写了该规范。
42 ----------
44 中文文档翻译工作目前独立于 linux-doc 开发树开展,所以您需要拉取该开发树,
51 git clone https://mirrors.hust.edu.cn/git/kernel-doc-zh.git linux
60 ----------------
67 ./tools/docs/sphinx-pre-install
73 sudo dnf install -y dejavu-sans-fonts dejavu-sans-mono-fonts \
74 dejavu-serif-fonts google-noto-sans-cjk-fonts graphviz-gd \
75 latexmk librsvg2-tools texlive-anyfontsize texlive-capt-of \
[all …]
/linux/drivers/media/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 Additional info and docs are available on the web at
36 If not selected, all non-optional media core functionality
47 By default, a media driver auto-selects all possible ancillary
65 # Multimedia support - automatically enable V4L2 and DVB core
107 Additional info and docs are available on the web at
127 prompt "Platform-specific devices" if MEDIA_SUPPORT_FILTER
141 prompt "Test drivers" if MEDIA_SUPPORT_FILTER
146 that simulate real hardware. Very useful to test userspace
150 Say Y if you want to use some virtual test driver.
[all …]
/linux/tools/testing/selftests/bpf/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
22 PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config
25 GENFLAGS := -DHAVE_GENHDR
28 BPF_GCC ?= $(shell command -v bpf-gcc;)
32 OPT_FLAGS ?= $(if $(RELEASE),-O2,-O0)
34 LIBELF_CFLAGS := $(shell $(PKG_CONFIG) libelf --cflags 2>/dev/null)
35 LIBELF_LIBS := $(shell $(PKG_CONFIG) libelf --libs 2>/dev/null || echo -lelf)
47 CFLAGS += -g $(OPT_FLAGS) -rdynamic -std=gnu11 \
48 -Wall -Werror -fno-omit-frame-pointer \
49 -Wno-unused-but-set-variable \
[all …]
/linux/fs/
H A DKconfig.binfmt1 # SPDX-License-Identifier: GPL-2.0-only
18 however) and makes building run-time libraries very easy. Many new
23 <http://www.tldp.org/docs.html#howto>.
37 prior bug fixes into a regression test collection. This is really
39 compat_binfmt_elf KUnit test is also created.
93 the /proc/PID/coredump_filter pseudo-file; this setting is
148 If you say Y here, it will be possible to plug wrapper-driven binary
151 Emacs-Lisp. It's also useful if you often run DOS executables under
152 the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
153 <http://www.tldp.org/docs.html#howto>). Once you have
[all …]
/linux/rust/pin-init/
H A DREADME.md1 [![Crates.io](https://img.shields.io/crates/v/pin-init.svg)](https://crates.io/crates/pin-init)
2 [![Documentation](https://docs.rs/pin-init/badge.svg)](https://docs.rs/pin-init/)
3 …us](https://deps.rs/repo/github/Rust-for-Linux/pin-init/status.svg)](https://deps.rs/repo/github/R…
4 ![License](https://img.shields.io/crates/l/pin-init)
5 [![Toolchain](https://img.shields.io/badge/toolchain-nightly-red)](#nightly-only)
6 …low Status](https://img.shields.io/github/actions/workflow/status/Rust-for-Linux/pin-init/test.yml)
7 # `pin-init`
11 > This crate was originally named [`pinned-init`], but the migration to
12 > `pin-init` is not yet complete. The `legacy` branch contains the current
13 > version of the `pinned-init` crate & the `main` branch already incorporates
[all …]
/linux/Documentation/translations/zh_CN/rust/
H A Dtesting.rst1 .. SPDX-License-Identifier: GPL-2.0
2 .. include:: ../disclaimer-zh_CN.rst
17 - KUnit 测试
18 - ``#[test]`` 测试
19 - Kselftests
22 ----------
31 ./tools/testing/kunit/kunit.py run --make_options LLVM=1 --arch x86_64 --kconfig_add CONFIG_RUST=y
34 Documentation/dev-tools/kunit/index.rst。
35 关于内核内置与命令行测试的详细信息,请参阅 Documentation/dev-tools/kunit/architecture.rst。
40 Kernel hacking -> Kernel Testing and Coverage -> KUnit - Enable support for unit tests
[all …]
/linux/drivers/firewire/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 # firewire-core does not depend on PCI but is
11 This is the new-generation IEEE 1394 (FireWire) driver stack
14 See http://ieee1394.docs.kernel.org/en/latest/migration.html
19 called firewire-core.
31 kernel devs running KUnit test harness and are not for inclusion
35 to the KUnit documentation in Documentation/dev-tools/kunit/.
47 kernel devs running KUnit test harness and are not for inclusion
51 to the KUnit documentation in Documentation/dev-tools/kunit/.
63 kernel devs running KUnit test harness and are not for inclusion
[all …]
/linux/Documentation/admin-guide/
H A Dbug-bisect.rst1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0)
9 change that broke something -- for example when some functionality stopped
13 kernel, better follow Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst
17 care about the result -- for example, because the problem happens after the
29 a fully reliable and straight-forward way to reproduce the regression, too.*
38 Instead of Git tags like 'v6.0' and 'v6.1' you can specify commit-ids, too.
68 test after this (roughly 10 steps)'. In that case go back to step 1.
75 mentioning the culprit's commit-id.
85 git bisect log > ~/bisection-log
86 cp .config ~/bisection-config-culprit
[all …]
H A Djava.rst2 ----------------------------------------------
14 ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/Java-HOWTO
45 ':Applet:M::<!--applet::/usr/bin/appletviewer:'
52 existing html-files to contain ``<!--applet-->`` in the first line
62 gcc -O2 -o javaclassname javaclassname.c
71 .. code-block:: sh
74 # /usr/local/bin/javawrapper - the wrapper for binfmt_misc/java
76 if [ -z "$1" ]; then
78 echo Usage: $0 class-file
84 FQCLASSN=`echo $FQCLASS | sed -e 's/^.*\.\([^.]*\)$/\1/'`
[all …]
/linux/tools/perf/tests/shell/
H A Dbuildid.sh3 # SPDX-License-Identifier: GPL-2.0
6 if ! [ -x "$(command -v readelf)" ]; then
12 if ! [ -x "$(command -v cc)" ]; then
17 # check what we need to test windows binaries
20 if ! perf version --build-options | grep -q 'libbfd: .* on '; then
31 if [ ${run_pe} -eq 1 ]; then
32 wineprefix=$(mktemp -d /tmp/perf.wineprefix.XXX)
43 ex_pe=$(dirname $0)/../pe-file.exe
49 rm -f ${ex_source} ${ex_md5} ${ex_sha1} ${data} ${log_out} ${log_err}
50 if [ ${run_pe} -eq 1 ]; then
[all …]
/linux/Documentation/bpf/
H A Ds390.rst10 document describes how to test BPF in an s390 QEMU guest.
12 2. One-time setup
15 The following is required to build and run the test suite:
27 --variant=minbase \
28 --include=sudo \
30 ./s390-toolchain
31 sudo mount --rbind /dev ./s390-toolchain/dev
32 sudo mount --rbind /proc ./s390-toolchain/proc
33 sudo mount --rbind /sys ./s390-toolchain/sys
34 sudo chroot ./s390-toolchain
[all …]
H A Dbpf_devel_QA.rst10 Documentation/process/submitting-patches.rst. This document only describes
21 --------------------------------------------
48 ------------------------------------------------------------------------
49 A: BPF CI is GitHub based and hosted at https://github.com/kernel-patches/bpf.
55 - Create a fork of the aforementioned repository in your own account (one time
58 - Clone the fork locally, check out a new branch tracking either the bpf-next
59 or bpf branch, and apply your to-be-tested patches on top of it
61 - Push the local branch to your fork and create a pull request against
62 kernel-patches/bpf's bpf-next_base or bpf_base branch, respectively
68 Note furthermore that both base branches (bpf-next_base and bpf_base) will be
[all …]
/linux/Documentation/rust/
H A Dtesting.rst1 .. SPDX-License-Identifier: GPL-2.0
6 This document contains useful information how to test the Rust code in the
11 - The KUnit tests.
12 - The ``#[test]`` tests.
13 - The Kselftests.
16 ---------------
27 ./tools/testing/kunit/kunit.py run --make_options LLVM=1 --arch x86_64 --kconfig_add CONFIG_RUST=y
29 Alternatively, KUnit can run them as kernel built-in at boot. Refer to
30 Documentation/dev-tools/kunit/index.rst for the general KUnit documentation
31 and Documentation/dev-tools/kunit/architecture.rst for the details of kernel
[all …]
/linux/Documentation/dev-tools/
H A Dgcov.rst6 is exported in gcov-compatible format via the "gcov" debugfs directory.
8 directory and use gcov with the ``-o`` option as follows (requires root)::
10 # cd /tmp/linux-out
11 # gcov -o /sys/kernel/debug/gcov/tmp/linux-out/kernel spinlock.c
14 in the current directory. In addition, graphical gcov front-ends such
21 * test improvement (how do I change my test to cover these lines?)
26 .. _lcov: https://github.com/linux-test-project/lcov
30 -----------
48 mount -t debugfs none /sys/kernel/debug
52 -------------
[all …]
H A Dcheckpatch.rst1 .. SPDX-License-Identifier: GPL-2.0-only
27 - -q, --quiet
31 - -v, --verbose
32 Enable verbose mode. Additional verbose test descriptions are output
35 - --no-tree
39 - --no-signoff
41 Disable the 'Signed-off-by' line check. The sign-off is a simple line at
43 or otherwise have the right to pass it on as an open-source patch.
47 Signed-off-by: Random J Developer <random@developer.example.org>
49 Setting this flag effectively stops a message for a missing signed-off-by
[all …]
/linux/Documentation/doc-guide/
H A Dsphinx.rst12 .. _Sphinx: http://www.sphinx-doc.org/
16 documentation comments, or kernel-doc comments, from source files. Usually these
18 kernel-doc comments have some special structure and formatting, but beyond that
34 :ref:`sphinx-pre-install` for further details.
42 Sphinx inside a virtual environment, using ``virtualenv-3``
50 (sphinx_latest) $ pip install -r Documentation/sphinx/requirements.txt
58 ------------
69 --------------------
80 ------------------------
89 The former was the only option for pre-6.1 kernel documentation and it
[all …]
/linux/
H A D.clang-format1 # SPDX-License-Identifier: GPL-2.0
3 # clang-format configuration file. Intended for clang-format >= 11.
7 # Documentation/dev-tools/clang-format.rst
8 # https://clang.llvm.org/docs/ClangFormat.html
9 # https://clang.llvm.org/docs/ClangFormatStyleOptions.html
11 ---
12 AccessModifierOffset: -4
68 # git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*(' include/ tools/ \
69 # | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$, - '\1'," \
70 # | LC_ALL=C sort -u
[all …]
/linux/tools/testing/selftests/
H A Dkselftest.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * kselftest.h: low-level kselftest framework to include from
16 * For each test, report any progress, debugging, etc with:
21 * and finally report the pass/fail/skip/xfail/xpass state of the test
164 … "# %u skipped test(s) detected. Consider enabling relevant config options to improve coverage.\n", in ksft_print_cnts()
234 * ksft_test_result() - Report test success based on truth of condition
236 * @condition: if true, report test success, otherwise failure.
334 /* Docs seem to call for double space if directive is absent */ in ksft_test_result_code()
349 * ksft_test_result() - Report test success based on truth of condition
351 * @condition: if true, report test success, otherwise failure.
[all …]
/linux/include/linux/
H A Dcompiler_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 * C23 introduces "auto" as a standard way to define type-inferred
35 * see https://github.com/rust-lang/rust-bindgen/issues/2244.
44 /* sparse defines __CHECKER__; see Documentation/dev-tools/sparse.rst */
57 # define __cond_acquires(x) __attribute__((context(x,0,-1)))
60 # define __release(x) __context__(x,-1)
67 # define ACCESS_PRIVATE(p, member) (*((typeof((p)->member) __force *) &(p)->member))
95 # define ACCESS_PRIVATE(p, member) ((p)->member)
111 …* gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-cold-function-at…
112 * gcc: https://gcc.gnu.org/onlinedocs/gcc/Label-Attributes.html#index-cold-label-attribute
[all …]
/linux/Documentation/process/
H A Dbackporting.rst1 .. SPDX-License-Identifier: GPL-2.0
18 merging branches, or resolving conflicts in their day-to-day work, so
24 This document aims to be a comprehensive, step-by-step guide to
31 in which case you just cherry-pick it directly using
32 ``git cherry-pick``. However, if the patch comes from an email, as it
42 where the patch applies cleanly and *then* cherry-pick it over to your
47 can apply it to the most recent mainline kernel and then cherry-pick it
54 in more unrelated changes in the context of the diff when cherry-picking
57 A good reason to prefer ``git cherry-pick`` over ``git am`` is that git
64 email, you can use ``b4 am`` with the options ``-g``/``--guess-base``
[all …]
/linux/include/uapi/linux/
H A Dfdreg.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
36 #define STATUS_DMA 0x20 /* 0- DMA mode */
37 #define STATUS_DIR 0x40 /* 0- cpu->fdc */
51 #define ST1_ND 0x04 /* No Data - unreadable */
67 #define ST3_DS 0x08 /* drive is double-sided */
95 * http://www.intel.com/design/archives/periphrl/docs/29046803.htm */
118 #define FDC_765ED 0x30 /* Non-Intel 1MB-compatible FDC, can't detect */
122 #define FDC_82077 0x52 /* 82077AA-1 */
125 #define FDC_82078_1 0x61 /* 82078-1 (2Mbps fdc) */
126 #define FDC_S82078B 0x62 /* S82078B (first seen on Adaptec AVA-2825 VLB
[all …]
/linux/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
19 logger = logging.getLogger("hidtools.test.tablet")
44 https://docs
[all...]
/linux/rust/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_RUST) += core.o compiler_builtins.o ffi.o
7 always-$(CONFIG_RUST) += exports_core_generated.h
11 obj-$(CONFIG_RUST) += helpers/helpers.o
12 CFLAGS_REMOVE_helpers/helpers.o = -Wmissing-prototypes -Wmissing-declarations
14 always-$(CONFIG_RUST) += bindings/bindings_generated.rs bindings/bindings_helpers_generated.rs
15 obj-$(CONFIG_RUST) += bindings.o pin_init.o kernel.o
16 always-$(CONFIG_RUST) += exports_helpers_generated.h \
19 always-$(CONFIG_RUST) += uapi/uapi_generated.rs
20 obj-$(CONFIG_RUST) += uapi.o
[all …]
/linux/rust/syn/
H A Dlib.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
3 …hub]](https://github.com/dtolnay/syn)&ensp;[![crates-io]](https://crates.io/crates/syn)&ensp;[![do…
5 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo…
6 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555…
7 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo…
17 //! - **Data structures** — Syn provides a complete syntax tree that can
23 //! - **Derives** — Of particular interest to derive macros is
26 //! derive implementations of a user-defined trait.
28 //! - **Parsing** — Parsing in Syn is built around [parser functions] with the
29 //! signature `fn(ParseStream) -> Result<T>`. Every syntax tree node defined
[all …]

12345