From 0612eb2c34908e5210b33e7c097f83cf5a3e287a Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 11 Aug 2020 16:41:02 -0300 Subject: [PATCH] Disabling performance tests. --- src/testprogram/testprogram.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/testprogram/testprogram.c b/src/testprogram/testprogram.c index 47fb497..39bc60c 100644 --- a/src/testprogram/testprogram.c +++ b/src/testprogram/testprogram.c @@ -172,10 +172,13 @@ int main(int argc, char *argv[]) if(!rc) { - printf("\n\nWaiting starts %u\n",(unsigned int) time(NULL)); + lib3270_wait_for_ready(h,10); + /* { // Performance checks + printf("\n\nWaiting starts %u\n",(unsigned int) time(NULL)); + size_t f; time_t start = time(0); for(f=0;f < 1000; f++) { @@ -188,10 +191,10 @@ int main(int argc, char *argv[]) if(tm > 1) { exit(-1); } + printf("\n\nWaiting ends %u\n\n",(unsigned int) time(NULL)); } - - printf("\n\nWaiting ends %u\n\n",(unsigned int) time(NULL)); + */ lib3270_enter(h); lib3270_wait(h,5); -- libgit2 0.21.2