autotests: Remove old kernel checks
CI runners have been upgraded.
This commit is contained in:
parent
32ae9dd7d1
commit
7d626363e4
2 changed files with 0 additions and 29 deletions
|
@ -62,7 +62,6 @@ class DrmTest : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
private Q_SLOTS:
|
||||
void initTestCase();
|
||||
void testAmsDetection();
|
||||
void testOutputDetection();
|
||||
void testZeroModesHandling();
|
||||
|
@ -73,27 +72,6 @@ private Q_SLOTS:
|
|||
void testModeset();
|
||||
};
|
||||
|
||||
static Version getKernelVersion()
|
||||
{
|
||||
struct utsname name;
|
||||
uname(&name);
|
||||
|
||||
if (qstrcmp(name.sysname, "Linux") == 0) {
|
||||
return Version::parseString(name.release);
|
||||
}
|
||||
return Version(0, 0, 0);
|
||||
}
|
||||
|
||||
void DrmTest::initTestCase()
|
||||
{
|
||||
// TODO: Remove this when CI is updated to ubuntu 22.04 or something with a newer kernel.
|
||||
const Version kernelVersion = getKernelVersion();
|
||||
if (kernelVersion.majorVersion() == 5 && kernelVersion.minorVersion() <= 4) {
|
||||
QSKIP("drmPrimeFDToHandle() randomly fails");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
static void verifyCleanup(MockGpu *mockGpu)
|
||||
{
|
||||
QVERIFY(mockGpu->drmConnectors.isEmpty());
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "libkwineffects/glplatform.h"
|
||||
#include "pointer_input.h"
|
||||
#include "scene/workspacescene.h"
|
||||
#include "utils/kernel.h"
|
||||
#include "wayland_server.h"
|
||||
#include "window.h"
|
||||
#include "workspace.h"
|
||||
|
@ -92,12 +91,6 @@ private:
|
|||
|
||||
void ScreencastingTest::init()
|
||||
{
|
||||
// TODO: Remove this when CI is updated to ubuntu 22.04 or something with a newer kernel.
|
||||
const Version kernelVersion = linuxKernelVersion();
|
||||
if (kernelVersion.majorVersion() == 5 && kernelVersion.minorVersion() <= 4) {
|
||||
QSKIP("drmPrimeFDToHandle() randomly fails");
|
||||
return;
|
||||
}
|
||||
QVERIFY(Test::setupWaylandConnection(Test::AdditionalWaylandInterface::ScreencastingV1));
|
||||
QVERIFY(KWin::Test::screencasting());
|
||||
Cursors::self()->hideCursor();
|
||||
|
|
Loading…
Reference in a new issue