mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 10:29:59 +03:00
NOISSUE add linux distro name and release stats to analytics
Hopefully this can serve as some sort of guideline for focusing effort towards the right distro packages to make.
This commit is contained in:
parent
b497aee920
commit
82208be49e
10 changed files with 420 additions and 1 deletions
|
|
@ -15,6 +15,14 @@ slots:
|
|||
QVERIFY(!kinfo.kernelName.isEmpty());
|
||||
QVERIFY(kinfo.kernelVersion != "0.0");
|
||||
}
|
||||
|
||||
void test_systemDistroNotNull()
|
||||
{
|
||||
auto kinfo = Sys::getDistributionInfo();
|
||||
QVERIFY(!kinfo.distributionName.isEmpty());
|
||||
QVERIFY(!kinfo.distributionVersion.isEmpty());
|
||||
qDebug() << "Distro: " << kinfo.distributionName << "version" << kinfo.distributionVersion;
|
||||
}
|
||||
};
|
||||
|
||||
QTEST_GUILESS_MAIN(SysTest)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue