]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Make blub happy
authorDale Weiler <killfieldengine@gmail.com>
Wed, 21 Nov 2012 20:31:41 +0000 (20:31 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Wed, 21 Nov 2012 20:31:41 +0000 (20:31 +0000)
Makefile
test.c

index 1c6acd21899e533c55c1de714e3d227aa4ecb97c..94b8b0b417f27886181ae78126cb159965816254 100644 (file)
--- 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 70a58447857f97e21dad1dfc3390b1bacde9c234..65002c9e362d9ef73b9172e71921923190420d8d 100644 (file)
--- 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;
         }