31main(
int argc,
char **argv )
40 if ( ( argc > 1 ) && ( strcmp( argv[1],
"xxx" ) == 0 ) ) {
48 if (!
quiet) printf(
"Testing Init/fork/exec/Init\n");
60 test_fail( __FILE__, __LINE__,
"forked PAPI_library_init",
64 if ( execlp( argv[0], argv[0],
"xxx", NULL ) == -1 ) {
70 if ( WEXITSTATUS( status ) != 0 ) {
71 test_fail( __FILE__, __LINE__,
"fork", WEXITSTATUS( status ) );
initialize the PAPI library.
Return codes and api definitions.
int tests_quiet(int argc, char **argv)
void PAPI_NORETURN test_fail(const char *file, int line, const char *call, int retval)
void PAPI_NORETURN test_pass(const char *filename)