forked from 0ad/0ad
Ykkrosh
6374080b60
Fix sys_get_executable_name. Add mock object support. Add CxxTest wrapper to support "-test TestSuitename" and "-test TestSuitename::test_case_name" command-line arguments for running individual tests. This was SVN commit r7081.
8 lines
127 B
C
8 lines
127 B
C
#include <dlfcn.h>
|
|
#include <cxxtest/Mock.h>
|
|
CXXTEST_MOCK_GLOBAL(
|
|
int, dladdr,
|
|
(void *addr, Dl_info *info),
|
|
(addr, info)
|
|
);
|