summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qprocess/testProcessOutput/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/io/qprocess/testProcessOutput/main.cpp')
-rw-r--r--tests/auto/corelib/io/qprocess/testProcessOutput/main.cpp16
1 files changed, 3 insertions, 13 deletions
diff --git a/tests/auto/corelib/io/qprocess/testProcessOutput/main.cpp b/tests/auto/corelib/io/qprocess/testProcessOutput/main.cpp
index b648d1bec3..d01739e3c0 100644
--- a/tests/auto/corelib/io/qprocess/testProcessOutput/main.cpp
+++ b/tests/auto/corelib/io/qprocess/testProcessOutput/main.cpp
@@ -44,23 +44,13 @@
int main()
{
-#if defined(__SYMBIAN32__)
- // Printing to stdout messes up the out.txt, so open a file and print there.
- FILE* file = fopen("c:\\logs\\qprocess_output_test.txt","w+");
- for (int i=0; i<200; i++) {
- fprintf(file, "%d -this is a number\n", i);
- fflush(file);
- }
- fclose(file);
-#else
-# if defined(_WIN32_WCE)
+#if defined(_WIN32_WCE)
for (int i=0; i<240; i++) {
-# else //fprintf Output is very slow on Windows CE/Symbian
+#else //fprintf Output is very slow on Windows CE
for (int i=0; i<10240; i++) {
-# endif
+#endif
fprintf(stdout, "%d -this is a number\n", i);
fflush(stderr);
}
-#endif
return 0;
}