From 646b95d113309378591b75a290ee6c62a04f3772 Mon Sep 17 00:00:00 2001 From: Wiimm Date: Wed, 30 Sep 2020 13:20:16 +0200 Subject: SZS v2.20a.beta1: Test Mac build --- project/src/wtest.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'project/src/wtest.c') diff --git a/project/src/wtest.c b/project/src/wtest.c index f91feb2..79f45c6 100644 --- a/project/src/wtest.c +++ b/project/src/wtest.c @@ -302,8 +302,8 @@ static int test_matrix ( int argc, char ** argv ) } printf("\nerr=%u, total=%u\n",err_count,total_count); - if ( err_count && max_error < ERR_DIFFER ) - max_error = ERR_DIFFER; + if ( err_count && ProgInfo.max_error < ERR_DIFFER ) + ProgInfo.max_error = ERR_DIFFER; return 0; } @@ -3353,7 +3353,7 @@ static enumError test_timezone ( int argc, char ** argv ) { printf("\nEndless timezone test with interval of 30 minutes started (pid=%u)\n", getpid() ); - printf("Typical usage: nohup ./%s TIMEZONE >>timezone-test.tmp 2>&1 &\n\n",progname); + printf("Typical usage: nohup ./%s TIMEZONE >>timezone-test.tmp 2>&1 &\n\n",ProgInfo.progname); for(;;) { @@ -3989,7 +3989,7 @@ int main ( int argc, char ** argv ) { printf("***** %s *****\n",TITLE); print_title_func = print_title; - SetupLib(argc,argv,NAME); + SetupLib(argc,argv,NAME,VERSION,TITLE); fflush(stdout); //printf(" |" MM1(XXX) "|" MM2(XXX) "\n"); @@ -4079,7 +4079,7 @@ int main ( int argc, char ** argv ) if (SIGINT_level) ERROR0(ERR_INTERRUPT,"Program interrupted by user."); - return max_error; + return ProgInfo.max_error; } /////////////////////////////////////////////////////////////////////////////// -- cgit v1.3.1