Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2798 → Rev 2799

/branches/tracing/uspace/app/tester/tdebug/tdebug1.def
File deleted
/branches/tracing/uspace/app/tester/tdebug/tdebug1.c
File deleted
/branches/tracing/uspace/app/tester/tester.c
57,7 → 57,6
#include "ipc/hangup.def"
#include "devmap/devmap1.def"
#include "vfs/vfs1.def"
#include "tdebug/tdebug1.def"
{NULL, NULL, NULL}
};
 
80,10 → 79,9
static void run_safe_tests(void)
{
test_t *test;
unsigned int i = 0;
unsigned int n = 0;
int i = 0, n = 0;
 
printf("\n*** Running all safe tests ***\n\n");
printf("\n*** Running all safe tests\n\n");
 
for (test = tests; test->name != NULL; test++) {
if (test->safe) {
94,7 → 92,7
}
}
 
printf("\nSafe tests completed, %u tests run, %u passed.\n\n", i + n, i);
printf("\nSafe tests completed, %d tests run, %d passed.\n\n", i + n, i);
}
 
static void list_tests(void)
/branches/tracing/uspace/app/tester/ipc/send_sync.c
38,10 → 38,10
static int msgid = 1;
char c;
 
printf("Select phoneid to send msg: 2-9 (q to skip)\n");
printf("Select phoneid to send msg: 2-9 (Q to skip)\n");
do {
c = getchar();
if ((c == 'Q') || (c == 'q'))
if (c == 'Q' || c == 'q')
return TEST_SKIPPED;
} while (c < '2' || c > '9');
phoneid = c - '0';
/branches/tracing/uspace/app/tester/ipc/send_async.c
41,10 → 41,10
static int msgid = 1;
char c;
 
printf("Select phoneid to send msg: 2-9 (q to skip)\n");
printf("Select phoneid to send msg: 2-9 (Q to skip)\n");
do {
c = getchar();
if ((c == 'Q') || (c == 'q'))
if (c == 'Q' || c == 'q')
return TEST_SKIPPED;
} while (c < '2' || c > '9');
phoneid = c - '0';
/branches/tracing/uspace/app/tester/ipc/connect.c
36,10 → 36,10
int svc;
int phid;
 
printf("Choose one service: 0:10000....9:10009 (q to skip)\n");
printf("Choose one service: 0:10000....9:10009 (Q to skip)\n");
do {
c = getchar();
if ((c == 'Q') || (c == 'q'))
if (c == 'Q' || c == 'q')
return TEST_SKIPPED;
} while (c < '0' || c > '9');
/branches/tracing/uspace/app/tester/tester.h
70,7 → 70,6
extern char * test_hangup(bool quiet);
extern char * test_devmap1(bool quiet);
extern char * test_vfs1(bool quiet);
extern char * test_tdebug1(bool quiet);
 
extern test_t tests[];
 
/branches/tracing/uspace/app/tester/Makefile
53,8 → 53,7
ipc/answer.c \
ipc/hangup.c \
devmap/devmap1.c \
vfs/vfs1.c \
tdebug/tdebug1.c
vfs/vfs1.c
 
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))