Home
last modified time | relevance | path

Searched full:fixture (Results 1 – 25 of 47) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/include/kutf/
H A Dkutf_suite.h25 * create Test Suites, Tests within those Test Suites, and Fixture variants
153 * @test_fix: The fixture that is being run in this context
155 * the fixture/text context.
156 * @fixture: The user provided fixture structure.
157 * @fixture_index: The index (id) of the current fixture.
158 * @fixture_name: The name of the current fixture (or NULL if unnamed).
161 * @status: The status of the currently running fixture.
163 * running fixture.
169 void *fixture; member
184 * @create_fixture: Function used to create a new fixture instance
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/include/kutf/
H A Dkutf_suite.h29 * create Test Suites, Tests within those Test Suites, and Fixture variants
207 * @test_fix: The fixture that is being run in this context
209 * the fixture/text context.
210 * @fixture: The user provided fixture structure.
211 * @fixture_index: The index (id) of the current fixture.
212 * @fixture_name: The name of the current fixture (or NULL if unnamed).
215 * @status: The status of the currently running fixture.
217 * running fixture.
226 void *fixture; member
244 * @create_fixture: Function used to create a new fixture instance
[all …]
H A Dkutf_helpers_user.h94 * Any failure will be logged on the suite's current test fixture
125 * Any failure will be logged on the suite's current test fixture
140 * String members of named_val will come from memory allocated on the fixture's mempool
/OK3568_Linux_fs/kernel/tools/testing/selftests/
H A Dkselftest_harness.h32 * FIXTURE(my_fixture) {
187 .fixture = &_fixture_global, \
207 * Almost always, you want just FIXTURE() instead (see below).
208 * This call may be used when the type of the fixture data
215 * FIXTURE(fixture_name) - Called once per fixture to setup the data and
218 * @fixture_name: fixture name
222 * FIXTURE(fixture_name) {
230 #define FIXTURE(fixture_name) \ macro
242 * FIXTURE_SETUP(fixture_name) - Prepares the setup function for the fixture.
245 * @fixture_name: fixture name
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/kutf/
H A Dkutf_suite.c18 /* Kernel UTF suite, test and fixture management including user to kernel
77 * test fixture
78 * @test_func: Test function this fixture belongs to
79 * @fixture_index: Index of this fixture
81 * @dir: debugfs directory for this test fixture
123 * kutf_create_context() - Create a test context in which a specific fixture
126 * @test_fix: Test fixture to be run.
284 * This function retrieves the test fixture data that is associated with the
304 * Call the create fixture function if required before the in kutf_debugfs_run_open()
305 * fixture is run in kutf_debugfs_run_open()
[all …]
/OK3568_Linux_fs/u-boot/test/py/
H A Dconftest.py11 # - Creating the U-Boot console test fixture.
205 """Provide parametrization for a ut_subtest fixture.
209 to test functions by parameterizing their ut_subtest fixture parameter.
213 fixture_name: The fixture name to test.
240 If a test function takes parameter(s) (fixture names) of the form brd__xxx
247 fixture_name: The fixture name to test.
284 Check each test function parameter (fixture name) to see if it is one of
301 @pytest.fixture(scope='session')
303 """Generate the value of a test's log fixture.
309 The fixture value.
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/mali_kutf_mgm_integration_test/
H A Dmali_kutf_mgm_integration_test_main.c47 * struct kutf_mgm_fixture_data - test fixture used by test functions
49 * @group_id: Memory group ID to test based on fixture index.
70 struct kutf_mgm_fixture_data *data = context->fixture; in mali_kutf_mgm_pte_translation_test()
127 * mali_kutf_mgm_integration_create_fixture() - Creates the fixture data
131 * Return: Fixture data created on success or NULL on failure
144 pr_debug("Creating fixture\n"); in mali_kutf_mgm_integration_create_fixture()
152 pr_debug("Fixture created\n"); in mali_kutf_mgm_integration_create_fixture()
157 * mali_kutf_mgm_integration_remove_fixture() - Destroy fixture data previously
163 struct kutf_mgm_fixture_data *data = context->fixture; in mali_kutf_mgm_integration_remove_fixture()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/kutf/
H A Dkutf_suite.c22 /* Kernel UTF suite, test and fixture management including user to kernel
83 * test fixture
84 * @test_func: Test function this fixture belongs to
85 * @fixture_index: Index of this fixture
87 * @dir: debugfs directory for this test fixture
124 * kutf_create_context() - Create a test context in which a specific fixture
127 * @test_fix: Test fixture to be run.
291 * Call the create fixture function if required before the in kutf_run_test()
292 * fixture is run in kutf_run_test()
295 test_context->fixture = suite->create_fixture(test_context); in kutf_run_test()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/mali_kutf_clk_rate_trace/kernel/
H A Dmali_kutf_clk_rate_trace_test.c75 * struct kutf_clk_rate_trace_fixture_data - Fixture data for the test.
128 * this pointer is engaged, new requests for create fixture will fail
174 struct kutf_clk_rate_trace_fixture_data *data = context->fixture; in kutf_set_pm_ctx_active()
188 struct kutf_clk_rate_trace_fixture_data *data = context->fixture; in kutf_set_pm_ctx_idle()
201 struct kutf_clk_rate_trace_fixture_data *data = context->fixture; in kutf_clk_trace_do_change_pm_ctx()
238 struct kutf_clk_rate_trace_fixture_data *data = context->fixture; in kutf_clk_trace_do_get_rate()
302 struct kutf_clk_rate_trace_fixture_data *data = context->fixture; in kutf_clk_trace_do_get_snapshot()
363 struct kutf_clk_rate_trace_fixture_data *data = context->fixture; in kutf_clk_trace_do_invoke_notify_42k()
402 struct kutf_clk_rate_trace_fixture_data *data = context->fixture; in kutf_clk_trace_do_close_portal()
443 struct kutf_clk_rate_trace_fixture_data *data = context->fixture; in kutf_clk_trace_do_get_platform()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/tests/mali_kutf_irq_test/
H A Dmali_kutf_irq_test_main.c40 * struct kutf_irq_fixture data - test fixture used by the test functions.
109 * mali_kutf_irq_default_create_fixture() - Creates the fixture data required
113 * Return: Fixture data created on success or NULL on failure
140 * mali_kutf_irq_default_remove_fixture() - Destroy fixture data previously
148 struct kutf_irq_fixture_data *data = context->fixture; in mali_kutf_irq_default_remove_fixture()
169 struct kutf_irq_fixture_data *data = context->fixture; in mali_kutf_irq_latency()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/tests/mali_kutf_irq_test/
H A Dmali_kutf_irq_test_main.c46 * struct kutf_irq_fixture_data - test fixture used by the test functions.
118 * mali_kutf_irq_default_create_fixture() - Creates the fixture data required
122 * Return: Fixture data created on success or NULL on failure
149 * mali_kutf_irq_default_remove_fixture() - Destroy fixture data previously
157 struct kutf_irq_fixture_data *data = context->fixture; in mali_kutf_irq_default_remove_fixture()
178 struct kutf_irq_fixture_data *data = context->fixture; in mali_kutf_irq_latency()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/
H A Dpython3-pytest-subtests_0.7.0.bb1 SUMMARY = "unittest subTest() support and subtests fixture."
3 New subtests fixture, providing similar functionality for pure pytest tests."
/OK3568_Linux_fs/kernel/drivers/usb/misc/
H A DKconfig194 tristate "USB EHSET Test Fixture driver"
196 Say Y here if you want to support the special test fixture device
199 When the test fixture is connected, it can enumerate as one of several
201 the downstream port to which the test fixture is attached.
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/bldcontrol/management/commands/
H A Dchecksettings.py107 # Import the custom fixture if it's present
111 message="^.*No fixture named.*$")
116 print("NOTE: optional fixture 'custom' not found")
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/tests/commands/
H A Dtest_loaddata.py26 "Loaded poky fixture but don't have a meta-poky for all releases"
35 "Loaded oe-core fixture but still have no openemebedded-core"
/OK3568_Linux_fs/kernel/tools/testing/selftests/pidfd/
H A Dpidfd_getfd_test.c60 * The fixture setup is completed at this point. The tests will run. in __child()
65 * side has closed the sk. This occurs during fixture teardown time, in __child()
116 FIXTURE(child) in FIXTURE() function
/OK3568_Linux_fs/yocto/poky/documentation/toaster-manual/
H A Dreference.rst101 Use the Fixture Feature
104 The Django fixture feature overrides the default layer server when you
105 use it to specify a custom URL. To use the fixture feature, create (or
225 or layers than the default fixture files.
237 Understanding Fixture File Format
243 The following subsections describe each of the sections in the fixture
/OK3568_Linux_fs/kernel/tools/testing/selftests/exec/
H A Dnon-regular.c36 FIXTURE(file) { in FIXTURE() function
170 FIXTURE(sock) in FIXTURE() function
/OK3568_Linux_fs/u-boot/test/py/tests/
H A Dtest_env.py86 @pytest.fixture(scope='function')
88 """pytest fixture to provide a StateTestEnv object to tests."""
/OK3568_Linux_fs/buildroot/support/testing/tests/package/
H A Dsample_python_pytest.py7 @pytest.fixture()
H A Dsample_python_pytest_asyncio.py8 @pytest.fixture()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pytest-benchmark_3.4.1.bb4 SUMMARY = "A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are…
H A Dpython3-pytest-lazy-fixture_0.6.3.bb4 HOMEPAGE = "https://github.com/tvorog/pytest-lazy-fixture"
/OK3568_Linux_fs/kernel/scripts/kconfig/tests/
H A Dconftest.py9 This provides fixture functions commonly used from test files.
288 @pytest.fixture(scope="module")
/OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/orm/fixtures/
H A DREADME28 Use the django management command manage.py loaddata <your fixture file>

12