PKUOS - Pintos
Pintos source browser for PKU Operating System course
|
#include <limits.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "threads/test.h"
Go to the source code of this file.
Functions | |
static void | checkf (const char *expect, const char *format,...) |
void | test (void) |
Test printf() implementation. More... | |
Variables | |
static int | failure_cnt |
Test program for printf() in lib/stdio.c. More... | |
|
static |
Definition at line 23 of file stdio.c.
References failure_cnt, printf(), strcmp(), va_end, va_start, and vsnprintf().
Referenced by test().
void test | ( | void | ) |
|
static |
Test program for printf() in lib/stdio.c.
Attempts to test printf() functionality that is not sufficiently tested elsewhere in Pintos.
This is not a test we will run on your submitted projects. It is here for completeness. Number of failures so far.