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