Make blub happy

This commit is contained in:
Dale Weiler 2012-11-21 20:31:41 +00:00
parent e7917d3225
commit ec50d8508e
2 changed files with 9 additions and 7 deletions

View file

@ -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

6
test.c
View file

@ -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;
}