/openbmc/libcper/tests/ |
H A D | ir-tests.cpp | 153 TEST(IA32x64Tests, IRValid) in TEST() function 167 TEST(ArmTests, IRValid) in TEST() function 171 TEST(ArmTests, BinaryEqual) in TEST() function 177 TEST(MemoryTests, IRValid) in TEST() function 187 TEST(Memory2Tests, IRValid) in TEST() function 197 TEST(PCIeTests, IRValid) in TEST() function 201 TEST(PCIeTests, BinaryEqual) in TEST() function 217 TEST(PCIBusTests, IRValid) in TEST() function 227 TEST(PCIDevTests, IRValid) in TEST() function 247 TEST(DMArVtdTests, IRValid) in TEST() function [all …]
|
/openbmc/u-boot/post/lib_powerpc/fpu/ |
H A D | compare-fp-1.c | 38 TEST (UNEQ (x, y)); in iuneq() 39 TEST (!LTGT (x, y)); in iuneq() 62 TEST (UNLT (x, y)); in iunlt() 69 TEST ((x <= y) && (x != y)); in ilt() 70 TEST ((x <= y) && (y != x)); in ilt() 77 TEST (UNLE (x, y)); in iunle() 84 TEST ((x < y) || (x == y)); in ile() 85 TEST ((y > x) || (x == y)); in ile() 92 TEST (UNGT (x, y)); in iungt() 107 TEST (UNGE (x, y)); in iunge() [all …]
|
/openbmc/entity-manager/test/ |
H A D | test_entity-manager.cpp | 405 TEST(MatchProbe, trueEqTrue) in TEST() function 510 TEST(MatchProbe, uintNeqTrue) in TEST() function 524 TEST(MatchProbe, uintEqUint8) in TEST() function 545 TEST(MatchProbe, uintEqInt8) in TEST() function 587 TEST(MatchProbe, intNeqTrue) in TEST() function 594 TEST(MatchProbe, intNeqUint8) in TEST() function 601 TEST(MatchProbe, intEqInt8) in TEST() function 615 TEST(MatchProbe, intEqDouble) in TEST() function 629 TEST(MatchProbe, intNeqEmpty) in TEST() function 636 TEST(MatchProbe, intNeqArray) in TEST() function [all …]
|
H A D | test_fru-utils.cpp | 108 TEST(VerifyChecksumTest, EmptyInput) in TEST() function 122 TEST(VerifyChecksumTest, AllOneInput) in TEST() function 168 TEST(FRUReaderTest, ReadData) in TEST() function 223 TEST(FRUReaderTest, DecreasingEOF) in TEST() function 238 TEST(FRUReaderTest, CacheHit) in TEST() function 256 TEST(FRUReaderTest, ReadPastKnownEnd) in TEST() function 274 TEST(FRUReaderTest, MultiBlockRead) in TEST() function 290 TEST(FRUReaderTest, ShrinkingEEPROM) in TEST() function 318 TEST(FindFRUHeaderTest, NoData) in TEST() function 331 TEST(FindFRUHeaderTest, ValidHeader) in TEST() function [all …]
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | bti-1.c | 43 TEST(BTYPE_1, NOP, 1); in main() 44 TEST(BTYPE_1, BTI_N, 1); in main() 45 TEST(BTYPE_1, BTI_C, 0); in main() 46 TEST(BTYPE_1, BTI_J, 0); in main() 49 TEST(BTYPE_2, NOP, 1); in main() 50 TEST(BTYPE_2, BTI_N, 1); in main() 51 TEST(BTYPE_2, BTI_C, 0); in main() 52 TEST(BTYPE_2, BTI_J, 1); in main() 55 TEST(BTYPE_3, NOP, 1); in main() 56 TEST(BTYPE_3, BTI_N, 1); in main() [all …]
|
H A D | bti-2.c | 62 TEST(BTYPE_1, NOP, 1) 63 TEST(BTYPE_1, BTI_N, 1) 64 TEST(BTYPE_1, BTI_C, 0) 65 TEST(BTYPE_1, BTI_J, 0) 68 TEST(BTYPE_2, NOP, 1) 69 TEST(BTYPE_2, BTI_N, 1) 70 TEST(BTYPE_2, BTI_C, 0) 71 TEST(BTYPE_2, BTI_J, 1) 74 TEST(BTYPE_3, NOP, 1) 75 TEST(BTYPE_3, BTI_N, 1) [all …]
|
/openbmc/qemu/tests/tcg/ppc64/ |
H A D | bcdsub.c | 64 TEST(0x9999999999999999, 0x999999999999999c, in test_bcdsub_eq() 67 TEST(0x9999999999999999, 0x999999999999999c, in test_bcdsub_eq() 80 TEST(0x9999999999999999, 0x999999999999999c, 0x0, 0x1d, 0, in test_bcdsub_gt() 99 TEST(0x0, 0xc, 0x0, 0x1c, 0, 0x0, 0x1d, CRF_LT); in test_bcdsub_lt() 100 TEST(0x0, 0xc, 0x0, 0x1c, 1, 0x0, 0x1d, CRF_LT); in test_bcdsub_lt() 111 TEST(0x0, 0x1c, 0x0, 0xf00, 0, UNDEF, UNDEF, CRF_SO); in test_bcdsub_invalid() 112 TEST(0x0, 0x1c, 0x0, 0xf00, 1, UNDEF, UNDEF, CRF_SO); in test_bcdsub_invalid() 114 TEST(0x0, 0xf00, 0x0, 0x1c, 0, UNDEF, UNDEF, CRF_SO); in test_bcdsub_invalid() 115 TEST(0x0, 0xf00, 0x0, 0x1c, 1, UNDEF, UNDEF, CRF_SO); in test_bcdsub_invalid() 117 TEST(0x0, 0xbad, 0x0, 0xf00, 0, UNDEF, UNDEF, CRF_SO); in test_bcdsub_invalid() [all …]
|
/openbmc/phosphor-pid-control/test/ |
H A D | util_unittest.cpp | 13 TEST(UtilTest, WriteTypeEmptyString_ReturnsNONE) in TEST() function 20 TEST(UtilTest, WriteTypeNonePath_ReturnsNONE) in TEST() function 27 TEST(UtilTest, WriteTypeSysfs_ReturnsSYSFS) in TEST() function 35 TEST(UtilTest, WriteTypeUnknown_ReturnsUNKNOWN) in TEST() function 43 TEST(UtilTest, ReadTypeEmptyString_ReturnsNONE) in TEST() function 50 TEST(UtilTest, ReadTypeNonePath_ReturnsNONE) in TEST() function 57 TEST(UtilTest, ReadTypeExternalSensors_ReturnsEXTERNAL) in TEST() function 65 TEST(UtilTest, ReadTypeOpenBMCSensor_ReturnsDBUSPASSIVE) in TEST() function 73 TEST(UtilTest, ReadTypeSysfsPath_ReturnsSYSFS) in TEST() function 81 TEST(UtilTest, ReadTypeUnknownDefault_ReturnsUNKNOWN) in TEST() function
|
/openbmc/linux/tools/testing/selftests/kselftest/ |
H A D | runner.sh | 49 TEST="$2" 52 BASENAME_TEST=$(basename $TEST) 105 if [ ! -e "$TEST" ]; then 106 echo "# Warning: file $TEST is missing!" 114 if [ ! -x "$TEST" ]; then 115 echo "# Warning: file $TEST is not executable" 119 interpreter=$(head -n 1 "$TEST" | cut -c 3-) 126 cd `dirname $TEST` > /dev/null 151 for TEST in "$@"; do 152 BASENAME_TEST=$(basename $TEST) [all …]
|
/openbmc/qemu/tests/tcg/hppa/ |
H A D | stby.c | 41 #define TEST(INSN, OFS, E) \ macro 53 TEST("stby,b", 0, 0x11223344); in test() 54 TEST("stby,b", 1, 0x00223344); in test() 55 TEST("stby,b", 2, 0x00003344); in test() 56 TEST("stby,b", 3, 0x00000044); in test() 58 TEST("stby,e", 0, 0x00000000); in test() 59 TEST("stby,e", 1, 0x11000000); in test() 60 TEST("stby,e", 2, 0x11220000); in test() 61 TEST("stby,e", 3, 0x11223300); in test()
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | pack.cpp | 23 TEST(PackBasics, Uint8) in TEST() function 35 TEST(PackBasics, Uint16) in TEST() function 47 TEST(PackBasics, Uint32) in TEST() function 59 TEST(PackBasics, Uint64) in TEST() function 71 TEST(PackBasics, Uint24) in TEST() function 100 TEST(PackBasics, Boolx8) in TEST() function 115 TEST(PackBasics, Bitset8) in TEST() function 144 TEST(PackBasics, Bitset32) in TEST() function 159 TEST(PackBasics, Tuple) in TEST() function 285 TEST(PackBasics, Payload) in TEST() function [all …]
|
H A D | unpack.cpp | 21 TEST(Uints, Uint8) in TEST() function 35 TEST(Uints, Uint8TooManyBytes) in TEST() function 62 TEST(Uints, Uint16) in TEST() function 103 TEST(Uints, Uint32) in TEST() function 144 TEST(Uints, Uint64) in TEST() function 186 TEST(Uints, Uint24) in TEST() function 227 TEST(FixedInts, Uint3Uint5) in TEST() function 282 TEST(Bools, Boolx8) in TEST() function 358 TEST(Bitsets, Bitset8) in TEST() function 461 TEST(Bitsets, Bitset32) in TEST() function [all …]
|
/openbmc/dbus-sensors/src/tests/ |
H A D | test_IpmbSensor.cpp | 12 TEST(IPMBSensor, Byte0) in TEST() function 52 TEST(IPMBSensor, NineBitMin) in TEST() function 68 TEST(IPMBSensor, NineBitMax) in TEST() function 82 TEST(IPMBSensor, NineBitTooShort) in TEST() function 93 TEST(IPMBSensor, NineBitTooLong) in TEST() function 106 TEST(IPMBSensor, NineBitInvalid) in TEST() function 118 TEST(IPMBSensor, TenBitValid1) in TEST() function 132 TEST(IPMBSensor, TenBitValid2) in TEST() function 147 TEST(IPMBSensor, TenBitMin) in TEST() function 188 TEST(IPMBSensor, TenBitTooLong) in TEST() function [all …]
|
/openbmc/linux/arch/arm/probes/kprobes/ |
H A D | test-thumb.c | 251 TEST("push {r0}") in kprobe_thumb16_test_cases() 252 TEST("push {r7}") in kprobe_thumb16_test_cases() 253 TEST("push {r14}") in kprobe_thumb16_test_cases() 257 TEST("pop {r0}") in kprobe_thumb16_test_cases() 258 TEST("pop {r7}") in kprobe_thumb16_test_cases() 270 TEST("sev") in kprobe_thumb16_test_cases() 271 TEST("nop") in kprobe_thumb16_test_cases() 272 TEST("wfi") in kprobe_thumb16_test_cases() 763 TEST("sev.w") in kprobe_thumb32_test_cases() 764 TEST("nop.w") in kprobe_thumb32_test_cases() [all …]
|
/openbmc/phosphor-host-ipmid/test/session/ |
H A D | closesession_unittest.cpp | 5 TEST(parseSessionInputPayloadTest, ValidObjectPath) in TEST() function 18 TEST(parseSessionInputPayloadTest, InvalidObjectPath) in TEST() function 33 TEST(parseSessionInputPayloadTest, NoObjectPath) in TEST() function 43 TEST(isSessionObjectMatchedTest, ValidSessionId) in TEST() function 53 TEST(isSessionObjectMatchedTest, ValidSessionHandle) in TEST() function 63 TEST(isSessionObjectMatchedTest, InvalidSessionId) in TEST() function 73 TEST(isSessionObjectMatchedTest, InvalidSessionHandle) in TEST() function 83 TEST(isSessionObjectMatchedTest, ZeroSessionId_ZeroSessionHandle) in TEST() function 93 TEST(isSessionObjectMatchedTest, InvalidObjectPath) in TEST() function 107 TEST(isSessionObjectMatchedTest, NoObjectPath) in TEST() function
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | map_kptr.c | 203 TEST(array_map); in test_map_kptr() 204 TEST(hash_map); in test_map_kptr() 206 TEST(lru_hash_map); in test_map_kptr() 208 #undef TEST in test_map_kptr() 289 #undef TEST in test_map_in_map_kptr() 407 TEST(array_map); in test_map_kptr_ref1() 408 TEST(hash_map); in test_map_kptr_ref1() 420 #undef TEST 445 TEST(array_map); in test_map_kptr_ref2() 446 TEST(hash_map); in test_map_kptr_ref2() [all …]
|
/openbmc/phosphor-objmgr/src/test/ |
H A D | need_to_introspect.cpp | 6 TEST(NeedToIntrospect, PassEmptyName) in TEST() function 14 TEST(NeedToIntrospect, NameOrg) in TEST() function 22 TEST(NeedToIntrospect, NameOrgFreedesktop) in TEST() function 30 TEST(NeedToIntrospect, nameOrgFreeDesktopFoo) in TEST() function 38 TEST(NeedToIntrospect, nameOrgOpenBMC) in TEST() function 46 TEST(NeedToIntrospect, NameColon) in TEST() function 54 TEST(NeedToIntrospect, NameUnique) in TEST() function
|
/openbmc/libpldm/tests/ |
H A D | msgbuf.cpp | 15 TEST(msgbuf, init_bad_minsize) in TEST() function 25 TEST(msgbuf, init_bad_len) in TEST() function 34 TEST(msgbuf, init_overflow) in TEST() function 44 TEST(msgbuf, init_success) in TEST() function 53 TEST(msgbuf, destroy_none) in TEST() function 63 TEST(msgbuf, destroy_exact) in TEST() function 76 TEST(msgbuf, destroy_over) in TEST() function 90 TEST(msgbuf, destroy_under) in TEST() function 103 TEST(msgbuf, extract_one_uint8) in TEST() function 142 TEST(msgbuf, extract_one_int8) in TEST() function [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | test_cgrp2_sock.sh | 7 TEST=$MY_DIR/test_cgrp2_sock 24 out=$($TEST) 38 out=$($TEST -6) 66 $TEST -d ${CGRP_MNT}/sockopts 103 $TEST -b cgrp2_sock ${CGRP_MNT}/sockopts 112 $TEST -m 666 ${CGRP_MNT}/sockopts 121 $TEST -p 123 ${CGRP_MNT}/sockopts 130 $TEST -b cgrp2_sock -m 666 -p 123 ${CGRP_MNT}/sockopts
|
/openbmc/bmcweb/test/redfish-core/include/ |
H A D | privileges_test.cpp | 18 TEST(PrivilegeTest, PrivilegeConstructor) in TEST() function 26 TEST(PrivilegeTest, PrivilegeCheckForNoPrivilegesRequired) in TEST() function 36 TEST(PrivilegeTest, PrivilegeCheckForSingleCaseSuccess) in TEST() function 45 TEST(PrivilegeTest, PrivilegeCheckForSingleCaseFailure) in TEST() function 55 TEST(PrivilegeTest, PrivilegeCheckForANDCaseSuccess) in TEST() function 67 TEST(PrivilegeTest, PrivilegeCheckForANDCaseFailure) in TEST() function 78 TEST(PrivilegeTest, PrivilegeCheckForORCaseSuccess) in TEST() function 88 TEST(PrivilegeTest, PrivilegeCheckForORCaseFailure) in TEST() function 98 TEST(PrivilegeTest, DefaultPrivilegeBitsetsAreEmpty) in TEST() function 109 TEST(PrivilegeTest, GetActivePrivilegeNames) in TEST() function [all …]
|
H A D | redfish_aggregator_test.cpp | 22 TEST(IsPropertyUri, SupportedPropertyReturnsTrue) in TEST() function 32 TEST(IsPropertyUri, CaseInsensitiveURIReturnsTrue) in TEST() function 48 TEST(IsPropertyUri, UnsupportedPropertyReturnsFalse) in TEST() function 55 TEST(addPrefixToItem, ValidURIs) in TEST() function 98 TEST(addPrefixToItem, UnsupportedURIs) in TEST() function 132 TEST(addPrefixToItem, TopLevelCollections) in TEST() function 158 TEST(addPrefixes, ParseJsonObject) in TEST() function 169 TEST(addPrefixes, ParseJsonArray) in TEST() function 194 TEST(addPrefixes, ParseJsonObjectNestedArray) in TEST() function 222 TEST(addPrefixes, FixHttpTaskMonitor) in TEST() function [all …]
|
/openbmc/linux/tools/testing/selftests/x86/ |
H A D | test_FCMOV.c | 16 #define TEST(insn) \ macro 33 TEST(fcmovb) 34 TEST(fcmove) 35 TEST(fcmovbe) 36 TEST(fcmovu) 37 TEST(fcmovnb) 38 TEST(fcmovne) 39 TEST(fcmovnbe) 40 TEST(fcmovnu)
|
/openbmc/linux/tools/testing/ktest/examples/include/ |
H A D | tests.conf | 33 TEST_START IF ${TEST} == boot 42 TEST_START IF ${TEST} == build 54 TEST_START ITERATE 10 IF ${TEST} == randconfig 58 TEST = ${RUN_TEST} 63 TEST_START ITERATE 10 IF ${TEST} == randconfig && ${MULTI} 70 TEST_START IF ${TEST} == test 73 TEST = ${RUN_TEST}
|
/openbmc/bmcweb/test/redfish-core/include/utils/ |
H A D | query_param_test.cpp | 30 TEST(Delegate, OnlyPositive) in TEST() function 43 TEST(Delegate, ExpandPositive) in TEST() function 60 TEST(Delegate, OnlyNegative) in TEST() function 73 TEST(Delegate, ExpandNegative) in TEST() function 83 TEST(Delegate, TopNegative) in TEST() function 93 TEST(Delegate, TopPositive) in TEST() function 106 TEST(Delegate, SkipNegative) in TEST() function 116 TEST(Delegate, SkipPositive) in TEST() function 371 TEST(PropogateErrorCode, 500IsWorst) 558 TEST(QueryParams, ParseParametersTop) in TEST() function [all …]
|
/openbmc/sdbusplus/test/message/ |
H A D | types.cpp | 14 TEST(MessageTypes, Integer) in TEST() function 19 TEST(MessageTypes, Double) in TEST() function 24 TEST(MessageTypes, MultipleParameter) in TEST() function 30 TEST(MessageTypes, StringReferences) in TEST() function 39 TEST(MessageTypes, ObjectPath) in TEST() function 44 TEST(MessageTypes, ObjectPathFilename) in TEST() function 64 TEST(MessageTypes, ObjectPathParent) in TEST() function 76 TEST(MessageTypes, ObjectPathOperatorSlash) in TEST() function 113 TEST(MessageTypes, Signature) in TEST() function 118 TEST(MessageTypes, VectorOfString) in TEST() function [all …]
|