| /linux/tools/testing/selftests/kselftest_harness/ | 
| H A D | harness-selftest.expected | 27 #  RUN           fixture.pass ...34 #            OK  fixture.pass
 35 ok 5 fixture.pass
 36 #  RUN           fixture.fail ...
 42 #          FAIL  fixture.fail
 43 not ok 6 fixture.fail
 44 #  RUN           fixture.timeout ...
 48 #          FAIL  fixture.timeout
 49 not ok 7 fixture.timeout
 
 | 
| H A D | harness-selftest.c | 48 FIXTURE(fixture) {  in FIXTURE()  argument52 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()  local781 	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) {185 		  .fixture = &_fixture_global, \
 205  * Almost always, you want just FIXTURE() instead (see below).
 206  * This call may be used when the type of the fixture data
 213  * FIXTURE() - Called once per fixture to setup the data and
 216  * @fixture_name: fixture name
 220  *     FIXTURE(fixture_name) {
 228 #define FIXTURE(fixture_name) \  macro
 240  * FIXTURE_SETUP() - Prepares the setup function for the fixture.
 243  * @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 teardown_fixture(struct fixture *fix) in teardown_fixture()
 50 	struct fixture *fix = init_fixture(); in test_set_global_vars_succeeds()
 105 	struct fixture *fix = init_fixture(); in test_set_global_vars_from_file_succeeds()
 131 	struct fixture *fix = init_fixture(); in test_set_global_vars_out_of_range()
 146 	struct fixture *fix = init_fixture(); in test_unsupported_ptr_array_type()
 161 	struct fixture *fi in test_array_out_of_bounds()
 [all...]
 | 
| /linux/tools/testing/selftests/hid/tests/ | 
| 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 | conftest.py | 19 @pytest.fixture(autouse=True, scope="session")25 @pytest.fixture(autouse=True, scope="session")
 30 @pytest.fixture(autouse=True, scope="session")
 
 | 
| 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()  function73 FIXTURE(pci_ep_basic)  in FIXTURE()  function
 148 FIXTURE(pci_ep_data_transfer)  in FIXTURE()  function
 237 FIXTURE(pcie_ep_doorbell)  in FIXTURE()  function
 
 | 
| /linux/drivers/usb/misc/ | 
| H A D | Kconfig | 241 	tristate "USB EHSET Test Fixture driver"243 	  Say Y here if you want to support the special test fixture device
 246 	  When the test fixture is connected, it can enumerate as one of several
 248 	  the downstream port to which the test fixture is attached.
 
 | 
| /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()  function170 FIXTURE(sock)  in FIXTURE()  function
 
 | 
| /linux/tools/testing/selftests/kvm/include/ | 
| H A D | kvm_test_harness.h | 14 	FIXTURE(name) {							\
 | 
| /linux/tools/testing/selftests/landlock/ | 
| H A D | scoped_signal_test.c | 26 FIXTURE(scoping_signals) {}; in FIXTURE()   function 154 FIXTURE(scoped_domains) {}; in FIXTURE()   function
 404 FIXTURE(fown) {}; in TEST_F()
 326 FIXTURE(fown) {}; FIXTURE()  function
 
 | 
| /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()  function213 FIXTURE(prctl_thp_disable_except_madvise)  in FIXTURE()  function
 
 | 
| H A D | mdwe_test.c | 47 FIXTURE(consecutive_prctl_flags) {};125 FIXTURE(mdwe)
 48 FIXTURE(consecutive_prctl_flags) {}; FIXTURE()  function
 126 FIXTURE(mdwe) FIXTURE()  function
 
 | 
| /linux/tools/testing/selftests/drivers/s390x/uvdevice/ | 
| H A D | test_uvdevice.c | 21 FIXTURE(uvio_fixture) {  in FIXTURE()  function152 FIXTURE(attest_fixture) {  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/net/ | 
| H A D | epoll_busy_poll.c | 44 FIXTURE(invalid_fd)  in FIXTURE()  function92 FIXTURE(epoll_busy_poll)  in FIXTURE()  function
 
 | 
| H A D | bind_timewait.c | 9 FIXTURE(bind_timewait)  in FIXTURE()  function
 | 
| /linux/scripts/kconfig/tests/ | 
| H A D | conftest.py | 9 This provides fixture functions commonly used from test files.311 @pytest.fixture(scope="module")
 
 | 
| /linux/tools/testing/selftests/mseal_system_mappings/ | 
| H A D | sysmap_is_sealed.c | 49 FIXTURE(basic) {  in FIXTURE()  function
 |