VirtualBox

Changeset 33198 in vbox for trunk/src/VBox/Runtime/testcase


Ignore:
Timestamp:
Oct 18, 2010 2:17:25 PM (14 years ago)
Author:
vboxsync
Message:

tstRTInlineAsm: show hex values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTInlineAsm.cpp

    r33136 r33198  
    880880        i64Rc = op; \
    881881        if (i64Rc != (rc)) \
    882             RTTestFailed(g_hTest, "%s, %d: FAILURE: %s -> %lld expected %lld\n", __FUNCTION__, __LINE__, #op, i64Rc, (int64_t)rc); \
     882            RTTestFailed(g_hTest, "%s, %d: FAILURE: %s -> %llx expected %llx\n", __FUNCTION__, __LINE__, #op, i64Rc, (int64_t)rc); \
    883883        if (*pi64 != (val)) \
    884             RTTestFailed(g_hTest, "%s, %d: FAILURE: %s => *pi64=%lld expected %lld\n", __FUNCTION__, __LINE__, #op, *pi64, (int64_t)(val)); \
     884            RTTestFailed(g_hTest, "%s, %d: FAILURE: %s => *pi64=%llx expected %llx\n", __FUNCTION__, __LINE__, #op, *pi64, (int64_t)(val)); \
    885885    } while (0)
    886886    MYCHECK(ASMAtomicAddS64(pi64, 1),               10,             11);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette