Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.x, 5.6.0 Alpha
-
Windows 10/ MSVC2015 64bit
-
0ebebeb983d381010fae710aee60d8550d9be4f3 (qtbase/5.6, 30.9.2015, 5.6b)
Description
The test fails in all Qt versions with MSVC2015. It works with MSVC2013. I faintly remember that I ran all tests with MSVC2015/Preview back then and the error did not show with the preview version (IIRC).
********* Start testing of tst_QProcess *********
Config: Using QtTest library 5.6.0, Qt 5.6.0 (x86_64-little_endian-llp64 shared (dynamic) debug build; by MSVC 2015)
PASS : tst_QProcess::initTestCase()
FAIL! : tst_QProcess::fileWriterProcess() Compared values are not the same
Actual (QFile("fileWriterProcess.txt").size()): 148888
Expected (qint64(stdinStr.size())) : 148890
..\tst_qprocess.cpp(2124) : failure location
PASS : tst_QProcess::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted
********* Finished testing of tst_QProcess *********
********* Start testing of tst_QProcess *********
Config: Using QTest library 4.8.7, Qt 4.8.7
PASS : tst_QProcess::initTestCase()
FAIL! : tst_QProcess::fileWriterProcess() Compared values are not the same
Actual (QFile("fileWriterProcess.txt").size()): 148888
Expected (qint64(stdinStr.size())): 148890
..\tst_qprocess.cpp(2400) : failure location
PASS : tst_QProcess::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped
********* Finished testing of tst_QProcess *********
********* Start testing of tst_QProcess ********* Config: Using QtTest library 5.5.1, Qt 5.5.1 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2013) PASS : tst_QProcess::initTestCase() PASS : tst_QProcess::fileWriterProcess() PASS : tst_QProcess::cleanupTestCase() Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted ********* Finished testing of tst_QProcess *********
Attached file shows newlines missing at line 1224 (memory 0x8b36) and 4263 (memory 0x1ef57) .
Attachments
Issue Links
- is duplicated by
-
QTBUG-48504 tst_qfile fails on Win 10 / MSVC 2015
- Closed
- is required for
-
QTBUG-47958 Issues to be fixed before Qt 5.6.0 Beta
- Closed
-
QTBUG-46344 Support MSVC 2015
- Closed
- resulted from
-
QTBUG-47370 Windows: tst_qfile, tst_qprocess sometimes crash in new CI ?
- Reported