toaruos/userspace/lib/testing.c

19 lines
411 B
C
Raw Normal View History

/* This file is part of ToaruOS and is released under the terms
* of the NCSA / University of Illinois License - see LICENSE.md
* Copyright (C) 2014 Kevin Lange
*/
2014-04-03 09:50:32 +04:00
#include <stdlib.h>
#include <stdio.h>
#include "testing.h"
void notice(char * type, char * fmt, ...) {
va_list argp;
va_start(argp, fmt);
/* core-tests header */
printf("core-tests : %s : ", type);
vprintf(fmt, argp);
printf("\n");
}