test: Don't fail if the network test server is not set up
Leftover from 704a4e4747
Change-Id: I437da91be31259a748303bd7cf20ff0c8bcf53b4
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
This commit is contained in:
parent
9bf0176802
commit
f224d073d5
@ -1354,7 +1354,8 @@ void tst_QNetworkReply::initTestCase()
|
||||
if (testDataDir.isEmpty())
|
||||
testDataDir = QCoreApplication::applicationDirPath();
|
||||
|
||||
QVERIFY(QtNetworkSettings::verifyTestNetworkSettings());
|
||||
if (!QtNetworkSettings::verifyTestNetworkSettings())
|
||||
QSKIP("No network test server available");
|
||||
#if !defined Q_OS_WIN
|
||||
wronlyFileName = testDataDir + "/write-only" + uniqueExtension;
|
||||
QFile wr(wronlyFileName);
|
||||
|
Loading…
Reference in New Issue
Block a user