forked from qt-creator/qt-creator
Make shootout test work on OSX
Change-Id: I0cac98b68ee67eb016e32eeb17fc41a2cce38d9b Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -303,7 +303,11 @@ void tst_CodeSize::codesize_data()
|
|||||||
#ifdef Q_CC_MSVC
|
#ifdef Q_CC_MSVC
|
||||||
s.cmd = "dumpbin /DISASM /SECTION:.text";
|
s.cmd = "dumpbin /DISASM /SECTION:.text";
|
||||||
#else
|
#else
|
||||||
|
# ifdef Q_OS_MAC
|
||||||
|
s.cmd = "otool -t -v";
|
||||||
|
# else
|
||||||
s.cmd = "objdump -D -j.text";
|
s.cmd = "objdump -D -j.text";
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
s.title = "This 'test' compares different approaches to return something \n"
|
s.title = "This 'test' compares different approaches to return something \n"
|
||||||
"like an immutable string from a function.";
|
"like an immutable string from a function.";
|
||||||
|
|||||||
Reference in New Issue
Block a user