Added test_comment() that prints user string to STDOUT unlike test_* which print to STDERR.
Used for more verbose test results when needed. This commit was SVN r2096.
Этот коммит содержится в:
родитель
a2bc814a08
Коммит
1d780192ef
@ -120,3 +120,10 @@ int test_finalize(void)
|
||||
|
||||
return return_value;
|
||||
}
|
||||
|
||||
|
||||
/* note this is for additional output that does NOT go to STDERR but STDOUT */
|
||||
void test_comment (char* userstr)
|
||||
{
|
||||
fprintf(stdout, "%s:%s\n", ompi_description, userstr);
|
||||
}
|
||||
|
@ -18,6 +18,8 @@ void test_failure(char *a);
|
||||
int test_verify_str(const char *expected_result, const char *test_result);
|
||||
int test_verify_int(int expected_result, int test_result);
|
||||
int test_finalize(void);
|
||||
void test_comment (char* userstr);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user