Make shootout test work on OSX

Change-Id: I0cac98b68ee67eb016e32eeb17fc41a2cce38d9b
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Christian Stenger
2015-05-12 07:20:15 +02:00
committed by hjk
parent 0b4e958fb3
commit ad34764605

View File

@@ -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.";