Home
last modified time | relevance | path

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

12345678910>>...199

/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; typedef
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/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/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/entity-manager/test/entity_manager/
H A Dtest_entity-manager.cpp13 TEST(TemplateCharReplace, replaceOneInt) in TEST() function
26 TEST(TemplateCharReplace, replaceOneStr) in TEST() function
28 nlohmann::json j = {{"foo", "$TEST"}}; in TEST()
31 data["TEST"] = std::string("Test"); in TEST()
35 nlohmann::json expected = "Test"; in TEST()
39 TEST(TemplateCharReplace, replaceSecondStr) in TEST() function
41 nlohmann::json j = {{"foo", "the $TEST"}}; in TEST()
44 data["TEST"] = std::string("Test"); in TEST()
52 TEST(TemplateCharReplace, replaceMiddleStr) TEST() function
65 TEST(TemplateCharReplace, replaceLastStr) TEST() function
78 TEST(TemplateCharReplace, increment) TEST() function
91 TEST(TemplateCharReplace, decrement) TEST() function
104 TEST(TemplateCharReplace, modulus) TEST() function
117 TEST(TemplateCharReplace, multiply) TEST() function
130 TEST(TemplateCharReplace, divide) TEST() function
143 TEST(TemplateCharReplace, multiMath) TEST() function
156 TEST(TemplateCharReplace, twoReplacements) TEST() function
170 TEST(TemplateCharReplace, twoReplacementsWithMath) TEST() function
183 TEST(TemplateCharReplace, twoReplacementsWithMath2) TEST() function
197 TEST(TemplateCharReplace, hexAndWrongCase) TEST() function
218 TEST(TemplateCharReplace, replaceSecondAsInt) TEST() function
231 TEST(TemplateCharReplace, singleHex) TEST() function
243 TEST(MatchProbe, stringEqString) TEST() function
250 TEST(MatchProbe, stringRegexEqString) TEST() function
257 TEST(MatchProbe, stringNeqString) TEST() function
264 TEST(MatchProbe, stringRegexError) TEST() function
271 TEST(MatchProbe, stringRegexNotPrefix) TEST() function
280 TEST(MatchProbe, stringZeroNeqFalse) TEST() function
287 TEST(MatchProbe, stringOneNeqTrue) TEST() function
294 TEST(MatchProbe, stringElevenNeqTrue) TEST() function
301 TEST(MatchProbe, stringFalseNeqFalse) TEST() function
308 TEST(MatchProbe, stringTrueNeqTrue) TEST() function
315 TEST(MatchProbe, stringFalseNeqTrue) TEST() function
322 TEST(MatchProbe, stringNeqUint8) TEST() function
329 TEST(MatchProbe, stringNeqUint8Overflow) TEST() function
336 TEST(MatchProbe, stringFalseNeqUint8Zero) TEST() function
343 TEST(MatchProbe, stringTrueNeqUint8Zero) TEST() function
350 TEST(MatchProbe, stringNeqUint32) TEST() function
357 TEST(MatchProbe, stringNeqInt32) TEST() function
364 TEST(MatchProbe, stringRegexNeqInt32) TEST() function
371 TEST(MatchProbe, stringNeqUint64) TEST() function
378 TEST(MatchProbe, stringNeqDouble) TEST() function
385 TEST(MatchProbe, stringNeqEmpty) TEST() function
392 TEST(MatchProbe, stringNeqArray) TEST() function
399 TEST(MatchProbe, boolNeqString) TEST() function
406 TEST(MatchProbe, trueEqTrue) TEST() function
413 TEST(MatchProbe, falseEqFalse) TEST() function
420 TEST(MatchProbe, trueNeqFalse) TEST() function
427 TEST(MatchProbe, trueNeqInt32Zero) TEST() function
434 TEST(MatchProbe, trueNeqInt32NegativeOne) TEST() function
441 TEST(MatchProbe, falseNeqUint32One) TEST() function
448 TEST(MatchProbe, falseNeqUint32Zero) TEST() function
455 TEST(MatchProbe, trueNeqDoubleNegativeOne) TEST() function
462 TEST(MatchProbe, trueNeqDoubleOne) TEST() function
469 TEST(MatchProbe, falseNeqDoubleOne) TEST() function
476 TEST(MatchProbe, falseNeqDoubleZero) TEST() function
483 TEST(MatchProbe, falseNeqEmpty) TEST() function
490 TEST(MatchProbe, trueNeqEmpty) TEST() function
497 TEST(MatchProbe, trueNeqArray) TEST() function
504 TEST(MatchProbe, uintNeqString) TEST() function
511 TEST(MatchProbe, uintNeqTrue) TEST() function
518 TEST(MatchProbe, uintNeqFalse) TEST() function
525 TEST(MatchProbe, uintEqUint8) TEST() function
532 TEST(MatchProbe, uintNeqUint8) TEST() function
539 TEST(MatchProbe, uintNeqUint8Overflow) TEST() function
546 TEST(MatchProbe, uintEqInt8) TEST() function
553 TEST(MatchProbe, uintEqDouble) TEST() function
560 TEST(MatchProbe, uintNeqDouble) TEST() function
567 TEST(MatchProbe, uintNeqEmpty) TEST() function
574 TEST(MatchProbe, uintNeqArray) TEST() function
581 TEST(MatchProbe, intNeqString) TEST() function
588 TEST(MatchProbe, intNeqTrue) TEST() function
595 TEST(MatchProbe, intNeqUint8) TEST() function
602 TEST(MatchProbe, intEqInt8) TEST() function
609 TEST(MatchProbe, intNeqDouble) TEST() function
616 TEST(MatchProbe, intEqDouble) TEST() function
623 TEST(MatchProbe, intNeqDoubleRound) TEST() function
630 TEST(MatchProbe, intNeqEmpty) TEST() function
637 TEST(MatchProbe, intNeqArray) TEST() function
644 TEST(MatchProbe, doubleNeqString) TEST() function
651 TEST(MatchProbe, doubleNeqFalse) TEST() function
658 TEST(MatchProbe, doubleNeqTrue) TEST() function
665 TEST(MatchProbe, doubleEqInt32) TEST() function
672 TEST(MatchProbe, doubleNeqInt32) TEST() function
679 TEST(MatchProbe, doubleRoundNeqInt) TEST() function
685 TEST(MatchProbe, doubleEqDouble) TEST() function
692 TEST(MatchProbe, doubleNeqDouble) TEST() function
699 TEST(MatchProbe, doubleNeqEmpty) TEST() function
706 TEST(MatchProbe, doubleNeqArray) TEST() function
713 TEST(MatchProbe, arrayNeqString) TEST() function
720 TEST(MatchProbe, arrayNeqFalse) TEST() function
727 TEST(MatchProbe, arrayNeqTrue) TEST() function
734 TEST(MatchProbe, arrayNeqUint8) TEST() function
741 TEST(MatchProbe, arrayNeqInt32) TEST() function
748 TEST(MatchProbe, arrayNeqDouble) TEST() function
755 TEST(MatchProbe, arrayEqArray) TEST() function
762 TEST(MatchProbe, arrayNeqArrayDiffSize1) TEST() function
769 TEST(MatchProbe, arrayNeqArrayDiffSize2) TEST() function
776 TEST(MatchProbe, emptyArrayEqEmptyArray) TEST() function
783 TEST(MatchProbe, emptyArrayNeqArray) TEST() function
790 TEST(MatchProbe, arrayNeqEmptyArray) TEST() function
797 TEST(MatchProbe, objNeqString) TEST() function
804 TEST(MatchProbe, objNeqFalse) TEST() function
811 TEST(MatchProbe, objNeqTrue) TEST() function
818 TEST(MatchProbe, objNeqUint8) TEST() function
825 TEST(MatchProbe, objNeqInt32) TEST() function
832 TEST(MatchProbe, objNeqDouble) TEST() function
839 TEST(MatchProbe, objNeqArray) TEST() function
846 TEST(MatchProbe, nullNeqString) TEST() function
853 TEST(MatchProbe, nullNeqFalse) TEST() function
860 TEST(MatchProbe, nullNeqTrue) TEST() function
867 TEST(MatchProbe, nullNeqUint8) TEST() function
874 TEST(MatchProbe, nullNeqInt32) TEST() function
881 TEST(MatchProbe, nullNeqDouble) TEST() function
888 TEST(MatchProbe, nullNeqArray) TEST() function
[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/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/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>>...199