/openbmc/u-boot/post/lib_powerpc/fpu/ |
H A D | compare-fp-1.c | 22 #define TEST(c) if ((c) != ok) failed++ macro 38 TEST (UNEQ (x, y)); in iuneq() 39 TEST (!LTGT (x, y)); in iuneq() 40 TEST (UNLE (x, y) && UNGE (x,y)); in iuneq() 45 TEST (ORD (x, y) && UNEQ (x, y)); in ieq() 50 TEST (!UNEQ (x, y)); /* Not optimizable. */ in iltgt() 51 TEST (LTGT (x, y)); /* Same, __builtin_islessgreater does not trap. */ in iltgt() 52 TEST (ORD (x, y) && (UNLT (x, y) || UNGT (x,y))); in iltgt() 57 TEST (UNLT (x, y) || UNGT (x, y)); in ine() 62 TEST (UNLT (x, y)); in iunlt() [all …]
|
/openbmc/entity-manager/test/ |
H A D | test_entity-manager.cpp | 12 TEST(TemplateCharReplace, replaceOneInt) in TEST() function 25 TEST(TemplateCharReplace, replaceOneStr) in TEST() function 38 TEST(TemplateCharReplace, replaceSecondStr) in TEST() function 51 TEST(TemplateCharReplace, replaceMiddleStr) in TEST() function 64 TEST(TemplateCharReplace, replaceLastStr) in TEST() function 77 TEST(TemplateCharReplace, increment) in TEST() function 90 TEST(TemplateCharReplace, decrement) in TEST() function 103 TEST(TemplateCharReplace, modulus) in TEST() function 116 TEST(TemplateCharReplace, multiply) in TEST() function 129 TEST(TemplateCharReplace, divide) in TEST() function [all …]
|
H A D | test_fru-utils.cpp | 17 TEST(ValidateHeaderTest, InvalidFruVersionReturnsFalse) in TEST() function 26 TEST(ValidateHeaderTest, InvalidReservedReturnsFalse) in TEST() function 35 TEST(ValidateHeaderTest, InvalidPaddingReturnsFalse) in TEST() function 44 TEST(ValidateHeaderTest, InvalidChecksumReturnsFalse) in TEST() function 53 TEST(ValidateHeaderTest, ValidChecksumReturnsTrue) in TEST() function 62 TEST(VerifyOffsetTest, EmptyFruDataReturnsFalse) in TEST() function 70 TEST(VerifyOffsetTest, AreaOutOfRangeReturnsFalse) in TEST() function 81 TEST(VerifyOffsetTest, OverlapNextAreaReturnsFalse) in TEST() function 90 TEST(VerifyOffsetTest, OverlapPrevAreaReturnsFalse) in TEST() function 99 TEST(VerifyOffsetTest, ValidInputDataNoOverlapReturnsTrue) in TEST() function [all …]
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | bti-1.c | 31 #define TEST(WHICH, DEST, EXPECT) \ macro 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() 47 TEST(BTYPE_1, BTI_JC, 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() [all …]
|
H A D | bti-2.c | 49 #define TEST(WHICH, DEST, EXPECT) \ macro 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) 66 TEST(BTYPE_1, BTI_JC, 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) [all …]
|
/openbmc/libcper/tests/ |
H A D | ir-tests.cpp | 245 TEST(CompileTimeAssertions, TwoWayConversion) in TEST() function 261 TEST(CompileTimeAssertions, ShortcodeNoSpaces) in TEST() function 279 TEST(GenericProcessorTests, IRValid) in TEST() function 283 TEST(GenericProcessorTests, BinaryEqual) in TEST() function 289 TEST(IA32x64Tests, IRValid) in TEST() function 293 TEST(IA32x64Tests, BinaryEqual) in TEST() function 303 TEST(ArmTests, IRValid) in TEST() function 307 TEST(ArmTests, BinaryEqual) in TEST() function 313 TEST(MemoryTests, IRValid) in TEST() function 317 TEST(MemoryTests, BinaryEqual) in TEST() function [all …]
|
/openbmc/qemu/tests/tcg/ppc64/ |
H A D | bcdsub.c | 26 #define TEST(AH, AL, BH, BL, PS, TH, TL, CR6) \ macro 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() 82 TEST(0x9999999999999999, 0x999999999999999c, 0x0, 0x1d, 1, in test_bcdsub_gt() 85 TEST(0x9999999999999999, 0x999999999999998c, 0x0, 0x1d, 0, in test_bcdsub_gt() 87 TEST(0x9999999999999999, 0x999999999999998c, 0x0, 0x1d, 1, 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() 103 TEST(0x9999999999999999, 0x999999999999999d, 0x0, 0x1c, 0, in test_bcdsub_lt() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc/ |
H A D | 0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch | 7 | ../../sblim-sfcc-2.2.8/TEST/v2test_ec.c: In function 'main': 8 | ../../sblim-sfcc-2.2.8/TEST/v2test_ec.c:86:31: error: passing argument 1 of 'showClass' from inco… 13 | In file included from ../../sblim-sfcc-2.2.8/TEST/v2test_ec.c:7: 14 | ../../sblim-sfcc-2.2.8/TEST/show.h:9:34: note: expected 'CMPIConstClass *' {aka 'struct _CMPICons… 18 | ../../sblim-sfcc-2.2.8/TEST/v2test_ein.c: In function 'main': 19 | ../../sblim-sfcc-2.2.8/TEST/v2test_ein.c:96:36: error: passing argument 1 of 'showObjectPath' fro… 24 | In file included from ../../sblim-sfcc-2.2.8/TEST/v2test_ein.c:7: 25 | ../../sblim-sfcc-2.2.8/TEST/show.h:7:39: note: expected 'CMPIObjectPath *' {aka 'struct _CMPIObje… 30 | ../../sblim-sfcc-2.2.8/TEST/v2test_im.c: In function 'main': 31 | ../../sblim-sfcc-2.2.8/TEST/v2test_im.c:82:40: warning: '%s' directive argument is null [-Wformat… [all …]
|
/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" 117 if [ $(head -n 1 "$TEST" | cut -c -2) = "#!" ] 119 interpreter=$(head -n 1 "$TEST" | cut -c 3-) 126 cd `dirname $TEST` > /dev/null 151 for TEST in "$@"; do [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/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 83 TEST(PackBasics, Uint3Uint5) in TEST() function 100 TEST(PackBasics, Boolx8) in TEST() function 115 TEST(PackBasics, Bitset8) in TEST() function 129 TEST(PackBasics, Bitset3Bitset5) in TEST() function 144 TEST(PackBasics, Bitset32) in TEST() function [all …]
|
H A D | unpack.cpp | 21 TEST(Uints, Uint8) in TEST() function 35 TEST(Uints, Uint8TooManyBytes) in TEST() function 49 TEST(Uints, Uint8InsufficientBytes) in TEST() function 62 TEST(Uints, Uint16) in TEST() function 76 TEST(Uints, Uint16TooManyBytes) in TEST() function 90 TEST(Uints, Uint16InsufficientBytes) in TEST() function 103 TEST(Uints, Uint32) in TEST() function 117 TEST(Uints, Uint32TooManyBytes) in TEST() function 131 TEST(Uints, Uint32InsufficientBytes) in TEST() function 144 TEST(Uints, Uint64) in TEST() function [all …]
|
/openbmc/dbus-sensors/src/tests/ |
H A D | test_MCTPEndpoint.cpp | 8 TEST(I2CMCTPDDevice, matchEmptyConfig) in TEST() function 14 TEST(I2CMCTPDDevice, matchIrrelevantConfig) in TEST() function 20 TEST(I2CMCTPDDevice, matchRelevantConfig) in TEST() function 26 TEST(I2CMCTPDDevice, fromBadIfaceNoType) in TEST() function 32 TEST(I2CMCTPDDevice, fromBadIfaceWrongType) in TEST() function 38 TEST(I2CMCTPDDevice, fromBadIfaceNoAddress) in TEST() function 48 TEST(I2CMCTPDDevice, fromBadIfaceBadAddress) in TEST() function 59 TEST(I2CMCTPDDevice, fromBadIfaceNoBus) in TEST() function 69 TEST(I2CMCTPDDevice, fromBadIfaceBadBus) in TEST() function 80 TEST(I2CMCTPDDevice, fromBadIfaceNoName) in TEST() function
|
H A D | test_IpmbSensor.cpp | 12 TEST(IPMBSensor, Byte0) in TEST() function 24 TEST(IPMBSensor, NineBitValidPositive) in TEST() function 38 TEST(IPMBSensor, NineBitValidNegative) 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 [all …]
|
/openbmc/linux/arch/arm/probes/kprobes/ |
H A D | test-thumb.c | 79 TEST( "movs.n r0, #0x5f") in kprobe_thumb16_test_cases() 80 TEST( "movs.n r7, #0xa0") in kprobe_thumb16_test_cases() 131 TEST( "mov lr, pc") in kprobe_thumb16_test_cases() 198 TEST( "ldr r0, [sp, #0]") in kprobe_thumb16_test_cases() 199 TEST( "ldr r7, [sp, #160]") in kprobe_thumb16_test_cases() 206 TEST("add r0, pc, #4") in kprobe_thumb16_test_cases() 207 TEST("add r7, pc, #1020") in kprobe_thumb16_test_cases() 208 TEST("add r0, sp, #4") in kprobe_thumb16_test_cases() 209 TEST("add r7, sp, #1020") in kprobe_thumb16_test_cases() 218 TEST("add sp, #"__stringify(TEST_MEMORY_SIZE)) /* Assumes TEST_MEMORY_SIZE < 0x400 */ in kprobe_thumb16_test_cases() [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/linux/tools/testing/selftests/bpf/progs/ |
H A D | map_kptr.c | 197 #define TEST(map) \ in test_map_kptr() macro 203 TEST(array_map); in test_map_kptr() 204 TEST(hash_map); in test_map_kptr() 205 TEST(hash_malloc_map); in test_map_kptr() 206 TEST(lru_hash_map); in test_map_kptr() 208 #undef TEST in test_map_kptr() 271 #define TEST(map_in_map) \ in test_map_in_map_kptr() macro 280 TEST(array_of_array_maps); in test_map_in_map_kptr() 281 TEST(array_of_hash_maps); in test_map_in_map_kptr() 282 TEST(array_of_hash_malloc_maps); in test_map_in_map_kptr() [all …]
|
/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 116 TEST(msgbuf, extract_over_uint8) in TEST() function [all …]
|
/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 129 TEST(FormatQueryForExpand, NoSubQueryWhenQueryIsEmpty) in TEST() function 134 TEST(FormatQueryForExpand, NoSubQueryWhenExpandLevelsLeOne) in TEST() function [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/bmcweb/test/redfish-core/include/ |
H A D | privileges_test.cpp | 20 TEST(PrivilegeTest, PrivilegeConstructor) in TEST() function 28 TEST(PrivilegeTest, PrivilegeCheckForNoPrivilegesRequired) in TEST() function 38 TEST(PrivilegeTest, PrivilegeCheckForSingleCaseSuccess) in TEST() function 47 TEST(PrivilegeTest, PrivilegeCheckForSingleCaseFailure) in TEST() function 57 TEST(PrivilegeTest, PrivilegeCheckForANDCaseSuccess) in TEST() function 69 TEST(PrivilegeTest, PrivilegeCheckForANDCaseFailure) in TEST() function 80 TEST(PrivilegeTest, PrivilegeCheckForORCaseSuccess) in TEST() function 90 TEST(PrivilegeTest, PrivilegeCheckForORCaseFailure) in TEST() function 100 TEST(PrivilegeTest, DefaultPrivilegeBitsetsAreEmpty) in TEST() function 111 TEST(PrivilegeTest, GetActivePrivilegeNames) 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/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/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/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 102 TEST(MessageTypes, ObjectPathOperatorSlashEqual) in TEST() function 113 TEST(MessageTypes, Signature) in TEST() function [all …]
|