From ec50d8508e878f56eaf675d67f8755943332845f Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Wed, 21 Nov 2012 20:31:41 +0000 Subject: [PATCH] Make blub happy --- Makefile | 10 +++++----- test.c | 6 ++++-- 2 files changed, 9 insertions(+), 7 deletions(-) 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; }