aboutsummaryrefslogtreecommitdiff
path: root/project/src/wtest.c
diff options
context:
space:
mode:
authorWiimm <none>2020-09-30 13:20:16 +0200
committerWiimm <none>2020-09-30 13:20:16 +0200
commit646b95d113309378591b75a290ee6c62a04f3772 (patch)
treea94864e8cef5fc0fbffb7e69d46d688e7caaae3d /project/src/wtest.c
parenteaf1f8f8ce68b80ebdcefb45896461a89b47e1e1 (diff)
SZS v2.20a.beta1: Test Mac build
Diffstat (limited to '')
-rw-r--r--project/src/wtest.c10
1 files changed, 5 insertions, 5 deletions
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;
}
///////////////////////////////////////////////////////////////////////////////