diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-09-27 19:53:01 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-29 06:41:42 +0200 |
commit | 95cebd34ebc5b4d39b11dc91610309a35e488663 (patch) | |
tree | 90ceffef5acea093dd2b8f8f7e8c30593023b85a /tests/auto/corelib/io/qprocess/testProcessOutput/main.cpp | |
parent | ab061e3e436fab35eac8666f3e950e98f66c4d3e (diff) |
Remove Symbian-specific code from tests.
Symbian is not a supported platform for Qt5, so this code is no longer
required.
Change-Id: I1172e6a42d518490e63e9599bf10579df08259aa
Reviewed-on: http://codereview.qt-project.org/5657
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/io/qprocess/testProcessOutput/main.cpp')
-rw-r--r-- | tests/auto/corelib/io/qprocess/testProcessOutput/main.cpp | 16 |
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; } |