Home
last modified time | relevance | path

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

1234

/openbmc/qemu/tests/unit/
H A Dtest-qga.c45 TestFixture *fixture = user_data; in qga_watch() local
48 g_main_loop_quit(fixture->loop); in qga_watch()
52 fixture_setup(TestFixture *fixture, gconstpointer data, gchar **envp) in fixture_setup() argument
61 fixture->loop = g_main_loop_new(NULL, FALSE); in fixture_setup()
63 fixture->test_dir = g_strdup_printf("%s/qgatest.XXXXXX", g_get_tmp_dir()); in fixture_setup()
64 g_assert_nonnull(g_mkdtemp(fixture->test_dir)); in fixture_setup()
66 path = g_build_filename(fixture->test_dir, "sock", NULL); in fixture_setup()
70 fixture->test_dir, path, in fixture_setup()
76 g_spawn_async(fixture->test_dir, argv, envp, in fixture_setup()
78 NULL, NULL, &fixture->pid, &error); in fixture_setup()
[all …]
/openbmc/linux/tools/testing/selftests/
H A Dkselftest_harness.h32 * FIXTURE(my_fixture) {
196 .fixture = &_fixture_global, \
216 * Almost always, you want just FIXTURE() instead (see below).
217 * This call may be used when the type of the fixture data
224 * FIXTURE() - Called once per fixture to setup the data and
227 * @fixture_name: fixture name
231 * FIXTURE(fixture_name) {
239 #define FIXTURE(fixture_name) \ macro
251 * FIXTURE_SETUP() - Prepares the setup function for the fixture.
254 * @fixture_name: fixture name
[all …]
/openbmc/u-boot/test/py/
H A Dconftest.py10 # - Creating the U-Boot console test fixture.
208 """Provide parametrization for a ut_subtest fixture.
212 to test functions by parameterizing their ut_subtest fixture parameter.
216 fixture_name: The fixture name to test.
243 If a test function takes parameter(s) (fixture names) of the form brd__xxx
250 fixture_name: The fixture name to test.
287 Check each test function parameter (fixture name) to see if it is one of
304 @pytest.fixture(scope='session')
306 """Generate the value of a test's log fixture.
312 The fixture value.
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-betamax/
H A D0001-Drop-ptests-fixtures-and-recorde_modes.patch6 The usage of fixture in test_fixtures has been deprecated.
41 - @pytest.fixture(autouse=True)
57 - """Exercise the fixture itself."""
64 - @pytest.fixture(autouse=True)
82 - """Exercise the fixture itself."""
303 - self.fixture = FakeBetamaxTestCase(methodName='test_fake')
309 - self.fixture.setUp()
317 - self.fixture.SESSION_CLASS = object
320 - self.fixture.setUp()
326 - self.fixture.SESSION_CLASS = TestSession
[all …]
/openbmc/telemetry/redfish-tests/
H A Dconftest.py14 @pytest.fixture(scope="session")
22 @pytest.fixture(scope="session")
28 @pytest.fixture(scope="function")
/openbmc/u-boot/test/py/tests/test_fs/
H A Dconftest.py66 Each fixture will be parametrized with a corresponding support_fs_xxx
112 This function is assumed to be called in a fixture function so that
233 # Fixture for basic fs test
246 A fixture for basic fs test, i.e. a triplet of file system type,
342 # Fixture for extended fs test
354 A fixture for extended fs test, i.e. a triplet of file system type,
429 # Fixture for mkdir test
441 A fixture for mkdir test, i.e. a duplet of file system type and
462 # Fixture for unlink test
474 A fixture for unlink test, i.e. a duplet of file system type and
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_usb_crash.py75 # 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 Dconftest.py19 @pytest.fixture(autouse=True, scope="session")
25 @pytest.fixture(autouse=True, scope="session")
30 @pytest.fixture(autouse=True, scope="session")
H A Dbase.py222 @pytest.fixture()
228 @pytest.fixture()
236 @pytest.fixture(autouse=True)
262 @pytest.fixture(autouse=True)
/openbmc/openbmc/poky/meta/recipes-devtools/python/
H A Dpython3-pytest-subtests_0.14.1.bb1 SUMMARY = "unittest subTest() support and subtests fixture."
3 New subtests fixture, providing similar functionality for pure pytest tests."
/openbmc/openbmc/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"
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/
H A Da1d58ae1be99571a88b8439b027abe6349b74658.patch9 Use @pytest.fixture instead; they are the same.
28 +@pytest.fixture(autouse=True)
/openbmc/qemu/tests/qtest/
H A Di440fx-test.c311 static void test_i440fx_firmware(FirmwareTestFixture *fixture, in test_i440fx_firmware() argument
322 cmdline = g_strdup_printf("-S %s%s", fixture->is_bios in test_i440fx_firmware()
367 static void request_bios(FirmwareTestFixture *fixture, in request_bios() argument
370 fixture->is_bios = true; in request_bios()
373 static void request_pflash(FirmwareTestFixture *fixture, in request_pflash() argument
376 fixture->is_bios = false; in request_pflash()
/openbmc/openbmc/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")
/openbmc/linux/drivers/usb/misc/
H A DKconfig212 tristate "USB EHSET Test Fixture driver"
214 Say Y here if you want to support the special test fixture device
217 When the test fixture is connected, it can enumerate as one of several
219 the downstream port to which the test fixture is attached.
/openbmc/linux/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
/openbmc/linux/tools/testing/selftests/exec/
H A Dnon-regular.c36 FIXTURE(file) { in FIXTURE() function
170 FIXTURE(sock) in FIXTURE() function
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pytest-freezer_0.4.9.bb1 SUMMARY = "Pytest plugin providing a fixture interface for spulec/freezegun"
H A Dpython3-pytest-benchmark_5.1.0.bb1 SUMMARY = "A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are…
H A Dpython3-pytest-lazy-fixtures_1.1.1.bb4 This project was inspired by pytest-lazy-fixture.\
/openbmc/openbmc/poky/documentation/toaster-manual/
H A Dreference.rst100 Use the Fixture Feature
103 The Django fixture feature overrides the default layer server when you
104 use it to specify a custom URL. To use the fixture feature, create (or
224 or layers than the default fixture files.
236 Understanding Fixture File Format
242 The following subsections describe each of the sections in the fixture
/openbmc/openpower-hw-diags/test/
H A Dtest-attention.cpp46 /** @brief Fixture class for TEST_F(). */
108 /** @brief Fixture class for TEST_F(). */
/openbmc/u-boot/test/py/tests/
H A Dtest_gpt.py59 @pytest.fixture(scope='function')
61 """pytest fixture to provide a GptTestDiskImage object to tests.
/openbmc/phosphor-logging/test/
H A Dlog_manager_dbus_tests.cpp22 // Fixture to spawn the log-manager for dbus-based testing.
51 // Data for the fixture.
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/fixtures/
H A DREADME28 Use the django management command manage.py loaddata <your fixture file>

1234