Commit 0612eb2c34908e5210b33e7c097f83cf5a3e287a
1 parent
ff3ec356
Exists in
master
and in
3 other branches
Disabling performance tests.
Showing
1 changed file
with
6 additions
and
3 deletions
Show diff stats
src/testprogram/testprogram.c
| ... | ... | @@ -172,10 +172,13 @@ int main(int argc, char *argv[]) |
| 172 | 172 | if(!rc) |
| 173 | 173 | { |
| 174 | 174 | |
| 175 | - printf("\n\nWaiting starts %u\n",(unsigned int) time(NULL)); | |
| 175 | + lib3270_wait_for_ready(h,10); | |
| 176 | 176 | |
| 177 | + /* | |
| 177 | 178 | { |
| 178 | 179 | // Performance checks |
| 180 | + printf("\n\nWaiting starts %u\n",(unsigned int) time(NULL)); | |
| 181 | + | |
| 179 | 182 | size_t f; |
| 180 | 183 | time_t start = time(0); |
| 181 | 184 | for(f=0;f < 1000; f++) { |
| ... | ... | @@ -188,10 +191,10 @@ int main(int argc, char *argv[]) |
| 188 | 191 | if(tm > 1) { |
| 189 | 192 | exit(-1); |
| 190 | 193 | } |
| 194 | + printf("\n\nWaiting ends %u\n\n",(unsigned int) time(NULL)); | |
| 191 | 195 | |
| 192 | 196 | } |
| 193 | - | |
| 194 | - printf("\n\nWaiting ends %u\n\n",(unsigned int) time(NULL)); | |
| 197 | + */ | |
| 195 | 198 | |
| 196 | 199 | lib3270_enter(h); |
| 197 | 200 | lib3270_wait(h,5); | ... | ... |