Put total_lines etc. into TCCState. Also, initialize the predefined compiler types for the preprocessor too. tccpe.c: fix BaseOfCode if .init section present (with tcc -b)
Showing the changes to tests (1 of 8 files). Show all
Unified · Split
| @@ -218,12 +218,13 @@ TF_TYPE(thread_test_complex, vn) · 217 unmodified lines | ||
| 218 | 218 | argv[argc] = NULL; |
| 219 | 219 | |
| 220 | 220 | s = new_state(1); |
| 221 | − sleep_ms(1); | |
| 221 | + sleep_ms(2); | |
| 222 | 222 | ret = tcc_add_file(s, argv[0]); |
| 223 | − sleep_ms(1); | |
| 223 | + sleep_ms(3); | |
| 224 | 224 | if (ret >= 0) |
| 225 | 225 | tcc_run(s, argc, argv); |
| 226 | 226 | tcc_delete(s); |
| 227 | + fflush(stdout); | |
| 227 | 228 | return 0; |
| 228 | 229 | } |
| 229 | 230 | |