mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
TestServerResolver: skip SRV tests when running on Wine.
This commit is contained in:
parent
5192831bc6
commit
f0c2d8b1fc
@ -8,6 +8,7 @@
|
||||
#include <QSignalSpy>
|
||||
|
||||
#include "ServerResolver.h"
|
||||
#include "PlatformCheck.h"
|
||||
|
||||
void signalSpyWait(QSignalSpy &spy) {
|
||||
// We increase the timeout from 5s to 8s because travis builds could fail otherwise (slow network response).
|
||||
@ -36,6 +37,11 @@ void TestServerResolver::simpleSrv() {
|
||||
return;
|
||||
#endif
|
||||
|
||||
// Qt 5's SRV resolver does not work in Wine.
|
||||
if (PlatformCheck::IsWine()) {
|
||||
return;
|
||||
}
|
||||
|
||||
ServerResolver r;
|
||||
QSignalSpy spy(&r, SIGNAL(resolved()));
|
||||
|
||||
@ -83,6 +89,11 @@ void TestServerResolver::srvCustomPort() {
|
||||
return;
|
||||
#endif
|
||||
|
||||
// Qt 5's SRV resolver does not work in Wine.
|
||||
if (PlatformCheck::IsWine()) {
|
||||
return;
|
||||
}
|
||||
|
||||
ServerResolver r;
|
||||
QSignalSpy spy(&r, SIGNAL(resolved()));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user