1
1

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.
Этот коммит содержится в:
Graham Fagg 2004-08-12 23:03:39 +00:00
родитель a2bc814a08
Коммит 1d780192ef
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -120,3 +120,10 @@ int test_finalize(void)
return return_value; 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_str(const char *expected_result, const char *test_result);
int test_verify_int(int expected_result, int test_result); int test_verify_int(int expected_result, int test_result);
int test_finalize(void); int test_finalize(void);
void test_comment (char* userstr);
/* /*