mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Small tweaks to make ObjC++ tests work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32634 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3710c419b0
commit
30ca8da66e
2 changed files with 4 additions and 1 deletions
|
@ -8,6 +8,9 @@ include $(GNUSTEP_MAKEFILES)/common.make
|
|||
|
||||
TEST_TOOL_NAME = @TESTNAMES@
|
||||
|
||||
ADDITIONAL_OBJCFLAGS += @TESTFLAGS@ -Wall
|
||||
ADDITIONAL_OBJCCFLAGS += @TESTFLAGS@ -Wall
|
||||
|
||||
ifeq ($(gcov),yes)
|
||||
ADDITIONAL_OBJCFLAGS += -ftest-coverage -fprofile-arcs
|
||||
ADDITIONAL_OBJCCFLAGS += -ftest-coverage -fprofile-arcs
|
||||
|
|
|
@ -321,7 +321,7 @@ static void testStart()
|
|||
BOOL _save_hopeful = testHopeful; \
|
||||
unsigned _save_indentation = testIndentation; \
|
||||
int _save_line = __LINE__; \
|
||||
char *_save_set = malloc(strlen(setName) + 1); \
|
||||
char *_save_set = (char*)malloc(strlen(setName) + 1); \
|
||||
strncpy(_save_set, setName, strlen(setName) + 1); \
|
||||
fprintf(stderr, "Start set: "); \
|
||||
testIndent(); \
|
||||
|
|
Loading…
Reference in a new issue