Home
last modified time | relevance | path

Searched full:test (Results 1 – 25 of 5058) sorted by relevance

12345678910>>...203

/openbmc/qemu/tests/qtest/
H A Dmeson.build2 'ahci-test': 150,
3 'aspeed_smc-test': 360,
4 'bios-tables-test' : 910,
5 'cdrom-test' : 610,
6 'device-introspect-test' : 720,
7 'ide-test' : 120,
8 'migration-test' : 480,
9 'npcm7xx_pwm-test': 300,
10 'npcm7xx_watchdog_timer-test': 120,
11 'qmp-cmd-test' : 120,
[all …]
H A Dendianness-test.c50 static uint8_t isa_inb(QTestState *qts, const TestCase *test, uint16_t addr) in isa_inb() argument
53 if (test->isa_base == -1) { in isa_inb()
56 value = qtest_readb(qts, test->isa_base + addr); in isa_inb()
61 static uint16_t isa_inw(QTestState *qts, const TestCase *test, uint16_t addr) in isa_inw() argument
64 if (test->isa_base == -1) { in isa_inw()
67 value = qtest_readw(qts, test->isa_base + addr); in isa_inw()
69 return test->bswap ? bswap16(value) : value; in isa_inw()
72 static uint32_t isa_inl(QTestState *qts, const TestCase *test, uint16_t addr) in isa_inl() argument
75 if (test->isa_base == -1) { in isa_inl()
78 value = qtest_readl(qts, test->isa_base + addr); in isa_inl()
[all …]
H A Dvnc-display-test.c16 typedef struct Test { struct
20 } Test; argument
39 test_setup(Test *test) in test_setup() argument
47 test->qts = qtest_init("-M none -vnc none -name vnc-test"); in test_setup()
51 qtest_qmp_add_client(test->qts, "vnc", pair[1]); in test_setup()
53 test->conn = vnc_connection_new(); in test_setup()
54 g_signal_connect(test->conn, "vnc-error", in test_setup()
56 g_signal_connect(test->conn, "vnc-auth-failure", in test_setup()
58 vnc_connection_set_auth_type(test->conn, VNC_CONNECTION_AUTH_NONE); in test_setup()
61 vnc_connection_open_fd(test->conn, _get_osfhandle(pair[0])); in test_setup()
[all …]
H A Ddbus-vmstate-test.c30 typedef struct Test { struct
40 } Test; argument
96 get_connection(Test *test, guint *ownid) in get_connection() argument
104 wait->loop = test->loop; in get_connection()
149 set_id_list(Test *test, QTestState *s) in set_id_list() argument
151 if (!test->id_list) { in set_id_list()
158 test->id_list))); in set_id_list()
172 test_dbus_vmstate(Test *test) in test_dbus_vmstate() argument
197 test->loop = loop; in test_dbus_vmstate()
201 srcconnA = get_connection(test, &ownsrcA); in test_dbus_vmstate()
[all …]
/openbmc/phosphor-dbus-monitor/src/example/
H A Dtest.yaml1 # Test PDM configuration file. This file validates that all
6 - name: test path group
19 - name: test byte property group
28 - name: test u16 property group
37 - name: test u32 property group
46 - name: test u64 property group
55 - name: test s16 property group
64 - name: test s32 property group
73 - name: test s64 property group
82 - name: test string property group
[all …]
/openbmc/qemu/tests/unit/
H A Dmeson.build14 'test-error-report': [],
15 'test-qobject-output-visitor': [testqapi],
16 'test-clone-visitor': [testqapi],
17 'test-qobject-input-visitor': [testqapi],
18 'test-forward-visitor': [testqapi],
19 'test-string-input-visitor': [testqapi],
20 'test-string-output-visitor': [testqapi],
21 'test-visitor-serialization': [testqapi],
22 'test-bitmap': [],
23 'test-resv-mem': [],
[all …]
/openbmc/qemu/tests/tcg/i386/
H A DMakefile.target16 SKIP_I386_TESTS=test-i386-ssse3 test-avx test-3dnow test-mmx test-flags
17 X86_64_TESTS:=$(filter test-i386-adcox test-i386-bmi2 $(SKIP_I386_TESTS), $(ALL_X86_TESTS))
19 test-i386-sse-exceptions: CFLAGS += -msse4.1 -mfpmath=sse
20 run-test-i386-sse-exceptions: QEMU_OPTS += -cpu max
22 test-i386-pcmpistri: CFLAGS += -msse4.2
23 run-test-i386-pcmpistri: QEMU_OPTS += -cpu max
25 test-i386-bmi2: CFLAGS=-O2 -fwrapv
26 run-test-i386-bmi2: QEMU_OPTS += -cpu max
28 test-i386-adcox: CFLAGS=-O2
29 run-test-i386-adcox: QEMU_OPTS += -cpu max
[all …]
/openbmc/u-boot/test/py/tests/
H A Dtest_hush_if_test.py4 # Test operation of the "if" shell command.
12 # The list of "if test" conditions to test.
21 ('test aaa = aaa', True),
22 ('test aaa = bbb', False),
24 ('test aaa != bbb', True),
25 ('test aaa != aaa', False),
27 ('test aaa < bbb', True),
28 ('test bbb < aaa', False),
30 ('test bbb > aaa', True),
31 ('test aaa > bbb', False),
[all …]
H A Dtest_bind.py28 #bind /bind-test. Device should come up as well as its children
29 response = u_boot_console.run_command('bind /bind-test generic_simple_bus')
32 assert in_tree(tree, 'bind-test', 'simple_bus', 'generic_simple_bus', 0, True)
33 assert in_tree(tree, 'bind-test-child1', 'phy', 'phy_sandbox', 1, False)
34 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'generic_simple_bus', 1, True)
36 #Unbind child #1. No error expected and all devices should be there except for bind-test-child1
37 response = u_boot_console.run_command('unbind /bind-test/bind-test-child1')
40 assert in_tree(tree, 'bind-test', 'simple_bus', 'generic_simple_bus', 0, True)
41 assert 'bind-test-child1' not in tree
42 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'generic_simple_bus', 1, True)
[all …]
/openbmc/phosphor-dbus-monitor/src/test/yaml/conditiongentest/
H A Dtest.yaml3 - name: test path group 1
10 - name: test path group 2
19 - name: test property group 1
28 - name: test property group 2
37 - name: test count condition 1
40 paths: test path group 1
41 properties: test property group 1
42 callback: test journal callback 1
48 - name: test count condition 2
51 paths: test path group 1
[all …]
/openbmc/phosphor-dbus-monitor/src/test/yaml/callbackgroupgentest/
H A Dtest.yaml3 - name: test path group 1
10 - name: test path group 2
19 - name: test property group 1
28 - name: test property group 2
37 - name: test journal callback 1
40 paths: test path group 1
41 properties: test property group 1
45 - name: test journal callback 2
48 paths: test path group 1
49 properties: test property group 1
[all …]
/openbmc/entity-manager/test/entity_manager/
H A Dtest_entity-manager.cpp13 TEST(TemplateCharReplace, replaceOneInt) in TEST() function
25 TEST(TemplateCharReplace, replaceOneStr) in TEST() function
27 nlohmann::json j = {{"foo", "$TEST"}}; in TEST()
29 data["TEST"] = std::string("Test"); in TEST()
33 nlohmann::json expected = "Test"; in TEST()
37 TEST(TemplateCharReplace, replaceSecondStr) in TEST() function
39 nlohmann::json j = {{"foo", "the $TEST"}}; in TEST()
41 data["TEST"] = std::string("Test"); in TEST()
45 nlohmann::json expected = "the Test"; in TEST()
49 TEST(TemplateCharReplace, replaceMiddleStr) in TEST() function
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf-c/
H A D0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch5 test-full.proto in protobuf-c-native
7 Those code was auto generated by protoc command with test-full.proto, those code are not compatible
9 the test-full.proto with latest version protobuf.
30 - t/generated-code/test-generated-code \
31 - t/generated-code2/test-generated-code2 \
32 - t/generated-code3/test-generated-code3 \
36 - t/generated-code/test-generated-code \
37 - t/generated-code2/test-generated-code2 \
38 - t/generated-code3/test-generated-code3 \
42 - t/generated-code/test-generated-code.c \
[all …]
/openbmc/webui-vue/docs/guide/unit-testing/
H A Dreadme.md3 The goal of a unit test is to improve code quality and assure future development
16 ## Test Libraries
18 The OpenBMC Web UI unit test framework uses the Jest test runner and relies on
22 - @vue/test-utils
24 ## Test specification location and naming conventions
26 - Create the test files in the /tests/unit directory
40 The `test:unit` script will run all the test suites. Until the integration of
41 the test script with the continuous integration tool is complete, it needs to be
43 test that is failing, follow the guidelines for debugging a failed tests or
46 ### Debugging a failed test
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/postfix/files/
H A D0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch4 Subject: [PATCH] makedefs: Use native compiler to build makedefs.test
23 - ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1
24 + ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c || exit 1
25 rm -f makedefs.test makedefs.test.[co]
32 - ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1
33 + ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c || exit 1
34 ./makedefs.test 2>/dev/null ||
36 rm -f makedefs.test makedefs.test.[co]
41 - ${CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \
42 + ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \
[all …]
/openbmc/libpldm/src/transport/
H A Dtest.c6 #include "test.h"
41 struct pldm_transport_test *test = transport_to_test(ctx); in pldm_transport_test_init_pollfd() local
45 rc = timerfd_settime(test->timerfd, 0, &disable, NULL); in pldm_transport_test_init_pollfd()
50 if (test->cursor >= test->count) { in pldm_transport_test_init_pollfd()
54 desc = &test->seq[test->cursor]; in pldm_transport_test_init_pollfd()
57 rc = timerfd_settime(test->timerfd, 0, &desc->latency, NULL); in pldm_transport_test_init_pollfd()
63 test->cursor++; in pldm_transport_test_init_pollfd()
75 { .fd = test->timerfd, .events = POLLIN }, in pldm_transport_test_init_pollfd()
78 rc = timerfd_settime(test->timerfd, 0, &ready, NULL); in pldm_transport_test_init_pollfd()
88 /* Don't increment test->cursor as recv needs to consume the current test element */ in pldm_transport_test_init_pollfd()
[all …]
/openbmc/obmc-console/test/
H A Dmeson.build2 'test-ringbuffer-boundary-poll',
3 'test-ringbuffer-boundary-read',
4 'test-ringbuffer-contained-offset-read',
5 'test-ringbuffer-contained-read',
6 'test-ringbuffer-poll-force',
7 'test-ringbuffer-read-commit',
8 'test-ringbuffer-simple-poll',
12 test(
24 'test-client-escape',
25 'test-config-parse',
[all …]
/openbmc/qemu/tests/fp/
H A Dfp-test-log2.c2 * fp-test-log2.c - test QEMU's softfloat log2
25 static void compare(ufloat64 test, ufloat64 real, ufloat64 soft, bool exact) in compare() argument
43 /* glibc allows 3 ulp error in its libm-test-ulps; allow 4 here */ in compare()
48 printf("test: %016" PRIx64 " %+.13a\n" in compare()
51 test.i, test.d, soft.i, soft.d, real.i, real.d); in compare()
69 ufloat64 test, real, soft; in main() local
77 test.d = 0.0; in main()
79 soft.i = float64_log2(test.i, &qsf); in main()
80 compare(test, real, soft, true); in main()
82 test.d = 1.0; in main()
[all …]
/openbmc/qemu/tests/functional/qemu_test/
H A Dcmd.py1 # Test class and utilities for functional tests
33 # @test: functional test to fail if @failure is seen
36 # @failure: a string to look for that triggers test failure, or None
48 # If @failure is seen, then mark @test as failed
49 def _console_read_line_until_match(test, vm, success, failure): argument
56 test.fail(
67 test.fail(
81 def _console_interaction(test, success_message, failure_message, argument
87 vm = test.vm
89 test.log.debug(
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest.c11 /* Constants for test step bitmap */
70 * Set up a test.
72 * @test the test to be executed
76 static int setup(struct efi_unit_test *test, unsigned int *failures) in setup() argument
80 if (!test->setup) in setup()
82 efi_st_printc(EFI_LIGHTBLUE, "\nSetting up '%s'\n", test->name); in setup()
83 ret = test->setup(handle, systable); in setup()
85 efi_st_error("Setting up '%s' failed\n", test->name); in setup()
89 "Setting up '%s' succeeded\n", test->name); in setup()
95 * Execute a test.
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/
H A DREADME18 filtering test cases.
21 unittest.TestCase and provides access to the Test data (td), Test context
25 decorators for Test cases.
28 loadTests and runTests of certain Test component and
29 OETestContextExecutor a base class to enable oe-test to discover/use
30 the Test component.
32 Also, a new 'oe-test' runner is located under 'scripts', allowing scans for components
37 * Test component: The area of testing in the Project, for example: runtime, SDK, eSDK, selftest.
39 * Test data: Data associated with the Test component. Currently we use bitbake datastore as
40 a Test data input.
[all …]
/openbmc/openbmc-test-automation/systest/
H A Dnetwork_stability_test.robot2 Documentation Module to test network stability.
3 ... By default running HTX mdt.bu profile for stress test.
8 Test Setup Test Setup Execution
9 Test Teardown Test Teardown Execution
11 Test Tags Network_Stability
17 *** Test Cases ***
19 Network Stability Test
23 # Run the network stress test HTX_LOOP times in loop.
24 Repeat Keyword ${HTX_LOOP} times Execute Network Test
29 Execute Network Test
[all …]
/openbmc/openbmc/poky/meta/recipes-core/dbus/dbus-glib/
H A Dtest-install-makefile.patch4 Subject: [PATCH] Change Makefile.am to install regression tests for test
7 Upstream-Status: Inappropriate [test not install is for purpose from upstream]
12 test/Makefile.am | 3 ++-
13 test/core/Makefile.am | 3 ++-
14 test/interfaces/Makefile.am | 3 ++-
17 diff --git a/test/Makefile.am b/test/Makefile.am
19 --- a/test/Makefile.am
20 +++ b/test/Makefile.am
31 diff --git a/test/core/Makefile.am b/test/core/Makefile.am
33 --- a/test/core/Makefile.am
[all …]
/openbmc/u-boot/post/
H A Dtests.c50 "OCM test",
52 "This test checks on chip memory (OCM).",
62 "Cache test",
64 "This test verifies the CPU cache operation.",
77 "Watchdog timer test",
79 "This test checks the watchdog timer.",
90 "I2C test",
92 "This test verifies the I2C operation.",
102 "RTC test",
104 "This test verifies the RTC operation.",
[all …]
/openbmc/u-boot/doc/
H A DREADME.POST1 Power-On-Self-Test support in U-Boot
4 This project is to support Power-On-Self-Test (POST) in U-Boot.
11 and running Power-On-Self-Test in U-Boot. This framework shall
34 o) CPU test
35 o) Cache test
36 o) Memory test
37 o) Ethernet test
38 o) Serial channels test
39 o) Watchdog timer test
40 o) RTC test
[all …]

12345678910>>...203