/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory/ |
H A D | config.yaml | 48 assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.PXEBoot 51 assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.BootComplete 54 assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CDROMBoot 57 assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CBoot 60 assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.DiagBoot 63 assert: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.ROMBoot 97 assert: false 100 assert: true 116 assert: true 121 assert: false [all …]
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_rst0.S | 11 assert eq, a5, a6 13 assert eq, a2, a6 15 assert eq, a3, a6 24 assert eq, a5, a6 26 assert eq, a2, a6 28 assert eq, a3, a6 37 assert eq, a5, a6 39 assert eq, a2, a6 41 assert eq, a3, a6 50 assert eq, a5, a6 [all …]
|
H A D | test_rem.S | 13 assert eq, a5, a6 15 assert eq, a2, a6 17 assert eq, a4, a6 26 assert eq, a5, a6 28 assert eq, a2, a6 30 assert eq, a4, a6 39 assert eq, a5, a6 41 assert eq, a2, a6 43 assert eq, a4, a6 52 assert eq, a5, a6 [all …]
|
H A D | test_quo.S | 13 assert eq, a5, a6 15 assert eq, a2, a6 17 assert eq, a4, a6 26 assert eq, a5, a6 28 assert eq, a2, a6 30 assert eq, a4, a6 39 assert eq, a5, a6 41 assert eq, a2, a6 43 assert eq, a4, a6 52 assert eq, a5, a6 [all …]
|
H A D | test_mmu.S | 55 assert eq, a1, a3 56 assert eq, a2, a3 61 assert eq, a1, a3 62 assert eq, a2, a3 67 assert eq, a1, a3 69 assert eq, a2, a3 78 assert eqi, a1, 0 81 assert eqi, a2, 0 92 assert eq, a2, a3 95 assert eq, a2, a3 [all …]
|
H A D | test_windowed.S | 38 assert eq, a2, a3 44 assert eq, a2, a3 47 assert eq, a2, a3 52 assert eqi, a2, 0 55 assert eq, a2, a3 58 assert eq, a2, a3 102 assert eq, a2, a3 108 assert eq, a2, a3 111 assert eq, a2, a3 113 assert eqi, a2, 1 [all …]
|
H A D | test_lsc.S | 22 assert eq, a2, a3 25 assert eq, a2, a3 28 assert eq, a2, a3 31 assert eq, a2, a3 56 assert eq, a2, a3 59 assert eq, a4, a3 62 assert eq, a4, a3 65 assert eq, a4, a3 87 assert eq, a2, a3 90 assert eq, a2, a3 [all …]
|
H A D | test_mul16.S | 13 assert eq, a5, a6 15 assert eq, a2, a6 17 assert eq, a3, a6 26 assert eq, a5, a6 28 assert eq, a2, a6 30 assert eq, a3, a6 39 assert eq, a5, a6 41 assert eq, a2, a6 43 assert eq, a3, a6 52 assert eq, a5, a6 [all …]
|
/openbmc/u-boot/test/py/tests/ |
H A D | test_bind.py | 30 assert response == '' 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) 38 assert response == '' 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) 46 assert response == '' 48 assert in_tree(tree, 'bind-test', 'simple_bus', 'generic_simple_bus', 0, True) [all …]
|
/openbmc/libmctp/tests/ |
H A D | test_astlpc.c | 24 #include <assert.h> 92 assert(reg == MCTP_ASTLPC_KCS_REG_DATA || in mctp_astlpc_mmio_kcs_write() 123 assert(offset >= 0L); in mctp_astlpc_mmio_lpc_read() 124 assert(offset + len < mmio->lpc_size); in mctp_astlpc_mmio_lpc_read() 138 assert(offset >= 0L); in mctp_astlpc_mmio_lpc_write() 139 assert(offset + len < mmio->lpc_size); in mctp_astlpc_mmio_lpc_write() 162 assert(len > 0); in astlpc_test_rx_message() 163 assert(msg); in astlpc_test_rx_message() 164 assert(test); in astlpc_test_rx_message() 165 assert(test->msg); in astlpc_test_rx_message() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_lru_map.c | 10 #include <assert.h> 85 assert(!bpf_map_lookup_elem(mfd, &zero, value)); in bpf_map_lookup_elem_with_ref_bit() 100 assert(!bpf_map_lookup_elem(map1, &next_key, value1)); in map_subset() 158 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity0() 164 assert(lru_map_fd != -1); in test_lru_sanity0() 167 assert(expected_map_fd != -1); in test_lru_sanity0() 174 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0() 175 assert(!bpf_map_update_elem(expected_map_fd, &key, value, in test_lru_sanity0() 179 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST) == -EEXIST); in test_lru_sanity0() 182 assert(bpf_map_update_elem(lru_map_fd, &key, value, -1) == -EINVAL); in test_lru_sanity0() [all …]
|
H A D | test_lpm_map.c | 13 #include <assert.h> 59 assert(node); in tlpm_add() 133 assert(0); in tlpm_delete() 143 assert(!tlpm_match(list, (uint8_t[]){ 0xff }, 8)); in test_lpm_basic() 146 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff }, 8)); in test_lpm_basic() 147 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0xff }, 16)); in test_lpm_basic() 148 assert(t1 == tlpm_match(list, (uint8_t[]){ 0xff, 0x00 }, 16)); in test_lpm_basic() 149 assert(!tlpm_match(list, (uint8_t[]){ 0x7f }, 8)); in test_lpm_basic() 150 assert(!tlpm_match(list, (uint8_t[]){ 0xfe }, 8)); in test_lpm_basic() 151 assert(!tlpm_match(list, (uint8_t[]){ 0xff }, 7)); in test_lpm_basic() [all …]
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | test-i386-bmi2.c | 2 #include <assert.h> 79 assert(result == 0x002020204d4c4844); in insn1q() 82 assert(result == 133); in insn1q() 85 assert(result == (ehlo & mask)); in insn1q() 88 assert(result == 511); /* mask has 9 bits set */ in insn1q() 91 assert(result == mask); in insn1q() 94 assert(result == (mask & ~INT64_MIN)); in insn1q() 97 assert(result == 0xa0); in insn1q() 100 assert(result == 0); in insn1q() 103 assert(result == 0xfedcba9876543210ull); in insn1q() [all …]
|
/openbmc/qemu/tests/tcg/s390x/ |
H A D | cvb.c | 6 #include <assert.h> 61 assert(err == 0); in main() 63 assert(err == 0); in main() 65 assert(cvb(0xc) == OK32(0) && signum == -1); in main() 66 assert(cvb(0x1c) == OK32(1) && signum == -1); in main() 67 assert(cvb(0x25594c) == OK32(25594) && signum == -1); in main() 68 assert(cvb(0x1d) == OK32(-1) && signum == -1); in main() 69 assert(cvb(0x2147483647c) == OK32(0x7fffffff) && signum == -1); in main() 70 assert(cvb(0x2147483648d) == OK32(-0x80000000) && signum == -1); in main() 71 assert(cvb(0x7) == FAIL && signum == SIGILL); in main() [all …]
|
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-phosphor/configuration/s6q-yaml-config/ |
H A D | ipmi-sensors.yaml | 539 assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.CE 542 assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.UE 545 assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.LogFull 563 assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.CE 566 assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.UE 569 assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.LogFull 587 assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.CE 590 assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.UE 593 assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.LogFull 611 assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.CE [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/tests/ |
H A D | test.js | 5 QUnit.test("Layer alert notification", function(assert) { argument 42 assert.equal(test.children("strong").text(), "3"); 43 assert.equal(test.children("a").length, 3); 46 QUnit.test("Project info", function(assert){ argument 47 var done = assert.async(); 49 assert.ok(prjInfo.machine.name); 50 assert.ok(prjInfo.layers.length > 0); 51 assert.ok(prjInfo.freqtargets); 52 assert.ok(prjInfo.release); 57 QUnit.test("Show notification", function(assert){ argument [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/p10bmc-yaml-config/ |
H A D | p10bmc-ipmi-sensors.yaml | 9 assert: false 16 assert: true 21 assert: false 39 assert: false 46 assert: true 51 assert: false 69 assert: false 76 assert: true 81 assert: false 99 assert: false [all …]
|
/openbmc/hiomapd/test/ |
H A D | flash_erase.c | 4 #include <assert.h> 117 assert(!backend_probe_mtd(backend, get_dev_mtd())); in main() 122 assert(rc == 0); in main() 123 assert(n_ioctls == 1); in main() 124 assert(recorded[0].start == 0); in main() 125 assert(recorded[0].length == sizeof(data)); in main() 134 assert(rc == 0); in main() 135 assert(n_ioctls == 0); in main() 141 assert(rc == 0); in main() 144 assert(rc == 0); in main() [all …]
|
/openbmc/phosphor-mboxd/test/ |
H A D | erase_flash.c | 4 #include <assert.h> 117 assert(rc == 0); in main() 118 assert(n_ioctls == 1); in main() 119 assert(recorded[0].start == 0); in main() 120 assert(recorded[0].length == sizeof(data)); in main() 129 assert(rc == 0); in main() 130 assert(n_ioctls == 0); in main() 136 assert(rc == 0); in main() 139 assert(rc == 0); in main() 140 assert(n_ioctls == 1); in main() [all …]
|
/openbmc/openbmc/meta-facebook/meta-minerva/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | minerva-phosphor-multi-gpio-monitor.json | 8 "FALLING": ["power-good-assert@mtia-blade-1.service"], 19 "FALLING": ["power-good-assert@mtia-blade-2.service"], 30 "FALLING": ["power-good-assert@mtia-blade-3.service"], 41 "FALLING": ["power-good-assert@mtia-blade-4.service"], 52 "FALLING": ["power-good-assert@mtia-blade-5.service"], 63 "FALLING": ["power-good-assert@mtia-blade-6.service"], 74 "FALLING": ["power-good-assert@mtia-blade-7.service"], 85 "FALLING": ["power-good-assert@mtia-blade-8.service"], 96 "FALLING": ["power-good-assert@mtia-blade-9.service"], 107 "FALLING": ["power-good-assert@mtia-blade-10.service"], [all …]
|
/openbmc/qemu/scripts/codeconverter/codeconverter/ |
H A D | test_regexps.py | 16 assert fullmatch(RE_IDENTIFIER, 'sizeof') 17 assert fullmatch(RE_IDENTIFIER, 'X86CPU') 18 assert fullmatch(RE_FUN_CALL, 'sizeof(X86CPU)') 19 assert fullmatch(RE_IDENTIFIER, 'X86_CPU_TYPE_NAME') 20 assert fullmatch(RE_SIMPLE_VALUE, '"base"') 22 assert fullmatch(RE_FUN_CALL, 'X86_CPU_TYPE_NAME("base")') 24 assert fullmatch(RE_TI_FIELD_INIT, '.name = X86_CPU_TYPE_NAME("base"),\n') 27 assert fullmatch(RE_MACRO_CONCAT, 'TYPE_ASPEED_GPIO "-ast2600"') 28 assert fullmatch(RE_EXPRESSION, 'TYPE_ASPEED_GPIO "-ast2600"') 31 assert re.search(RE_MACRO_DEFINE, r''' [all …]
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | catalina-gpio-monitor | 34 if [ "$STATE" = "assert" ]; then 45 if [ "$STATE" = "assert" ]; then 54 if [ "$STATE" = "assert" ]; then 69 LOG_MSG="Sequence entering latch state by RMC assert" 71 LOG_MSG="NODEA_NODEB_PWOK_PLD_ISO_R runtime error assert" 73 LOG_MSG="PWRGD_P12V_AUX_FAN_PLD runtime error assert" 75 LOG_MSG="PWRGD_P12V_AUX_PLD_ISO_R runtime error assert" 77 …_PERST_FROM_HOST_ISO_PLD_N or OCP_V3_2_PERST_FROM_HOST_ISO_PLD_N timeout assert, FSM stop at state… 79 LOG_MSG="NODEA_NODEB_PWOK_PLD_ISO_R timeout assert, FSM stop at state 0x03" 81 LOG_MSG="PWRGD_P12V_AUX_FAN_PLD timeout assert, FSM stop at state 0x05" [all …]
|
H A D | phosphor-multi-gpio-monitor.json | 7 "RISING": ["assert-cpu-boot-done.service"], 17 "RISING": ["assert-run-power-pg.service", "backend-nic-driver-bind.service"], 27 "RISING": ["assert-reset-button.service"], 37 "RISING": ["assert-uart-select-led.service"], 48 "FALLING": ["assert-gpio-log@wSequence_Latch_State_N.service"] 58 "FALLING": ["assert-gpio-log@wP12V_N1N2_RUNTIME_FLT_N.service"] 68 "FALLING": ["assert-gpio-log@wP12V_FAN_RUNTIME_FLT_N.service"] 78 "FALLING": ["assert-gpio-log@wHost_PERST_SEQPWR_FLT_N.service"] 88 "FALLING": ["assert-gpio-log@wP12V_AUX_RUNTIME_FLT_N.service"] 98 "FALLING": ["assert-gpio-log@wP12V_N1N2_SEQPWR_FLT_N.service"] [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | isp2400_input_system_private.h | 30 assert(ID < N_INPUT_SYSTEM_ID); in input_system_reg_store() 31 assert(INPUT_SYSTEM_BASE[ID] != (hrt_address)-1); in input_system_reg_store() 41 assert(ID < N_INPUT_SYSTEM_ID); in input_system_reg_load() 42 assert(INPUT_SYSTEM_BASE[ID] != (hrt_address)-1); in input_system_reg_load() 52 assert(ID < N_RX_ID); in receiver_reg_store() 53 assert(RX_BASE[ID] != (hrt_address)-1); in receiver_reg_store() 62 assert(ID < N_RX_ID); in receiver_reg_load() 63 assert(RX_BASE[ID] != (hrt_address)-1); in receiver_reg_load() 73 assert(ID < N_RX_ID); in receiver_port_reg_store() 74 assert(port_ID < N_MIPI_PORT_ID); in receiver_port_reg_store() [all …]
|
/openbmc/linux/tools/testing/selftests/hid/tests/ |
H A D | test_sony.py | 48 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_X) in events 52 assert x - 1 <= value <= x + 1 59 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_Y) in events 61 assert y - 1 <= value <= y + 1 68 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_Z) in events 70 assert z - 1 <= value <= z + 1 81 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_RX) in events 85 assert rx - 64 <= value <= rx + 64 92 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_RY) in events 94 assert ry - 64 <= value <= ry + 64 [all …]
|