| /linux/tools/testing/selftests/kselftest_harness/ |
| H A D | harness-selftest.expected | 60 # RUN fixture.pass ... 67 # OK fixture.pass 68 ok 15 fixture.pass 69 # RUN fixture.fail ... 75 # FAIL fixture.fail 76 not ok 16 fixture.fail 77 # RUN fixture.timeout ... 81 # FAIL fixture.timeout 82 not ok 17 fixture.timeout
|
| H A D | harness-selftest.c | 48 FIXTURE(fixture) { in FIXTURE() argument 52 FIXTURE_SETUP(fixture) { in FIXTURE_SETUP() argument 57 FIXTURE_TEARDOWN(fixture) { in FIXTURE_TEARDOWN() argument 61 TEST_F(fixture, pass) { in TEST_F() argument 69 TEST_F(fixture, fail) { in TEST_F() argument 76 TEST_F_TIMEOUT(fixture, timeout, 1) { 82 FIXTURE(fixture_parent) { in FIXTURE() function 101 FIXTURE(fixture_setup_failure) { in FIXTURE() function
|
| /linux/kernel/trace/ |
| H A D | trace_selftest.c | 780 struct fgraph_fixture *fixture = container_of(gops, struct fgraph_fixture, gops); in store_entry() local 781 const char *type = fixture->store_type_name; in store_entry() 782 int size = fixture->store_size; in store_entry() 787 snprintf(fixture->error_str_buf, ERRSTR_BUFLEN, in store_entry() 814 struct fgraph_fixture *fixture = container_of(gops, struct fgraph_fixture, gops); in store_return() local 815 const char *type = fixture->store_type_name; in store_return() 823 snprintf(fixture->error_str_buf, ERRSTR_BUFLEN, in store_return() 827 if (fixture->store_size > size) { in store_return() 828 snprintf(fixture->error_str_buf, ERRSTR_BUFLEN, in store_return() 830 size, (int)fixture->store_size); in store_return() [all …]
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 32 * FIXTURE(my_fixture) { 194 .fixture = &_fixture_global, \ 214 * Almost always, you want just FIXTURE() instead (see below). 215 * This call may be used when the type of the fixture data 222 * FIXTURE() - Called once per fixture to setup the data and 225 * @fixture_name: fixture name 229 * FIXTURE(fixture_name) { 237 #define FIXTURE(fixture_name) \ macro 249 * FIXTURE_SETUP() - Prepares the setup function for the fixture. 252 * @fixture_name: fixture name [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_veristat.c | 13 struct fixture { struct 21 static struct fixture *init_fixture(void) in init_fixture() argument 23 struct fixture *fix = malloc(sizeof(struct fixture)); in init_fixture() 40 static void read_output(struct fixture *fix) in read_output() 48 static void teardown_fixture(struct fixture *fix) in teardown_fixture() 58 struct fixture *fix = init_fixture(); in test_set_global_vars_succeeds() 113 struct fixture *fix = init_fixture(); in test_set_global_vars_from_file_succeeds() 139 struct fixture *fix = init_fixture(); in test_set_global_vars_out_of_range() 154 struct fixture *fix = init_fixture(); in test_unsupported_ptr_array_type() 169 struct fixture *fix = init_fixture(); in test_array_out_of_bounds() [all …]
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_connector_test.c | 2213 struct dm_cacp_fixture *fixture, in setup_cacp_fixture() argument 2217 fixture->adev = kunit_kzalloc(test, sizeof(*fixture->adev), GFP_KERNEL); in setup_cacp_fixture() 2218 fixture->aconnector = kunit_kzalloc(test, sizeof(*fixture->aconnector), in setup_cacp_fixture() 2220 fixture->link = kunit_kzalloc(test, sizeof(*fixture->link), GFP_KERNEL); in setup_cacp_fixture() 2221 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, fixture->adev); in setup_cacp_fixture() 2222 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, fixture->aconnector); in setup_cacp_fixture() 2223 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, fixture->link); in setup_cacp_fixture() 2225 fixture->aconnector->dc_link = fixture->link; in setup_cacp_fixture() 2226 fixture->aconnector->base.dev = &fixture->adev->ddev; in setup_cacp_fixture() 2227 fixture->link->connector_signal = signal; in setup_cacp_fixture() [all …]
|
| /linux/tools/testing/selftests/hid/tests/ |
| H A D | conftest.py | 18 @pytest.fixture(autouse=True) 33 @pytest.fixture(autouse=True, scope="session") 39 @pytest.fixture(autouse=True, scope="session") 44 @pytest.fixture(autouse=True, scope="session")
|
| H A D | test_usb_crash.py | 75 # conftest.py is generating the following fixture: 77 # @pytest.fixture(params=[('modulename', 1, 2)]) 81 @pytest.fixture() 100 The test is empty as the fixture `check_taint` is doing the job (and
|
| H A D | base.py | 246 @pytest.fixture() 311 @pytest.fixture() 319 @pytest.fixture(autouse=True) 350 @pytest.fixture(autouse=True)
|
| /linux/tools/testing/selftests/pci_endpoint/ |
| H A D | pci_endpoint_test.c | 34 FIXTURE(pci_ep_bar) in FIXTURE() function 96 FIXTURE(pci_ep_basic) in TEST_F() 171 FIXTURE(pci_ep_data_transfer) in FIXTURE_VARIANT_ADD() 260 FIXTURE(pcie_ep_doorbell) in TEST_F() 73 FIXTURE(pci_ep_basic) FIXTURE() function 148 FIXTURE(pci_ep_data_transfer) FIXTURE() function 237 FIXTURE(pcie_ep_doorbell) FIXTURE() function
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | coredump_test.h | 19 /* Coredump fixture */ 20 FIXTURE(coredump) in FIXTURE() function
|
| /linux/tools/testing/selftests/net/ |
| H A D | getsockopt_iter.c | 5 * Each fixture targets one converted protocol and pins down the 61 FIXTURE(netlink) in FIXTURE() function 181 FIXTURE(vsock) in FIXTURE() function 327 FIXTURE(raw) in FIXTURE() function 414 FIXTURE(rawv6) in FIXTURE() function 497 FIXTURE(tls) in FIXTURE() function
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_getfd_test.c | 61 * The fixture setup is completed at this point. The tests will run. in __child() 66 * side has closed the sk. This occurs during fixture teardown time, in __child() 117 FIXTURE(child) in FIXTURE() function
|
| H A D | pidfd_setattr_test.c | 27 FIXTURE(pidfs_setattr) in FIXTURE() function
|
| /linux/tools/testing/selftests/exec/ |
| H A D | non-regular.c | 36 FIXTURE(file) { in FIXTURE() function 170 FIXTURE(sock) in FIXTURE() function
|
| /linux/tools/testing/selftests/vfio/ |
| H A D | vfio_pci_device_test.c | 25 FIXTURE(vfio_pci_device_test) { in FIXTURE() function 105 FIXTURE(vfio_pci_irq_test) { in FIXTURE() 104 FIXTURE(vfio_pci_irq_test) { FIXTURE() function
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | kvm_test_harness.h | 14 FIXTURE(name) { \
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hidraw.c | 14 FIXTURE(hidraw) { in FIXTURE() 50 * A simple test to see if the fixture is working fine. in TEST_F() 11 FIXTURE(hidraw) { FIXTURE() function
|
| /linux/tools/testing/selftests/mm/ |
| H A D | prctl_thp_disable.c | 105 FIXTURE(prctl_thp_disable_completely) in FIXTURE() function 213 FIXTURE(prctl_thp_disable_except_madvise) in FIXTURE() function
|
| H A D | mdwe_test.c | 47 FIXTURE(consecutive_prctl_flags) {}; in FIXTURE() function 125 FIXTURE(mdwe) in FIXTURE() function
|
| /linux/tools/testing/selftests/arm64/gcs/ |
| H A D | libc-gcs.c | 132 * This could usefully have a fixture but note that each test is 302 FIXTURE(map_gcs) in FIXTURE() function 600 FIXTURE(map_invalid_gcs) in FIXTURE() function 643 FIXTURE(invalid_mprotect) in FIXTURE() function
|
| /linux/tools/testing/selftests/rseq/ |
| H A D | legacy_check.c | 15 FIXTURE(legacy) in FIXTURE() function
|
| /linux/net/wireless/tests/ |
| H A D | util.c | 3 * KUnit fixture to have a (configurable) wiphy
|
| /linux/Documentation/devicetree/bindings/arm/ |
| H A D | arm,integrator.yaml | 29 special metal fixture called Integrator/PP2, see ARM DUI 0169A.
|
| /linux/tools/testing/selftests/drivers/s390x/uvdevice/ |
| H A D | test_uvdevice.c | 21 FIXTURE(uvio_fixture) { in FIXTURE() function 152 FIXTURE(attest_fixture) { in FIXTURE() function
|