From: Dale Weiler Date: Wed, 21 Nov 2012 20:31:41 +0000 (+0000) Subject: Make blub happy X-Git-Tag: 0.1.9~361 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ec50d8508e878f56eaf675d67f8755943332845f;p=xonotic%2Fgmqcc.git Make blub happy --- diff --git a/Makefile b/Makefile index 1c6acd2..94b8b0b 100644 --- a/Makefile +++ b/Makefile @@ -49,16 +49,16 @@ qcvm: $(OBJ_X) gmqcc: $(OBJ_C) $(OBJ) $(CC) -o $@ $^ $(CFLAGS) -test: $(OBJ_T) +testsuite: $(OBJ_T) $(CC) -o $@ $^ $(CFLAGS) -all: gmqcc qcvm test +all: gmqcc qcvm testsuite -runtests: all - ./test +check: all + ./testsuite clean: - rm -f *.o gmqcc qcvm test *.dat + rm -f *.o gmqcc qcvm testsuite *.dat $(OBJ) $(OBJ_C) $(OBJ_X): gmqcc.h diff --git a/test.c b/test.c index 70a5844..65002c9 100644 --- a/test.c +++ b/test.c @@ -936,10 +936,12 @@ void task_schedualize(const char *curdir) { * in the virtual machine. */ if (!task_execute(task_tasks[i].template)) { - con_err("test failure: `%s` [%s]\n", + con_err("test failure: `%s` [%s] see %s.stdout and %s.stderr\n", task_tasks[i].template->description, (task_tasks[i].template->failuremessage) ? - task_tasks[i].template->failuremessage : "unknown" + task_tasks[i].template->failuremessage : "unknown", + task_tasks[i].template->tempfilename, + task_tasks[i].template->tempfilename ); continue; }