From Fedora Project Wiki
(repo link update) |
(You need '''gcc''' in order to run the tests, if it is not already installed) |
||
Line 13: | Line 13: | ||
<pre> | <pre> | ||
$ dnf install python-fedora | $ dnf install python-fedora | ||
</pre> | |||
</li> | |||
<li>You need '''gcc''' in order to run the tests, if it is not already installed | |||
<pre> | |||
$ dnf install gcc | |||
</pre> | </pre> | ||
</li> | </li> |
Revision as of 09:51, 15 September 2017
Description
This test case tests kernel
using the kernel regression test suite. For details about the test suite, see https://fedoraproject.org/wiki/KernelTestingInitiative.
Setup
- Ensure the
gcc
,git
andpython-fedora
packages are installed - Clone the kernel-tests repository:
$ git clone https://pagure.io/kernel-tests.git
- For submission of test results make sure you have the package python-fedora installed
$ dnf install python-fedora
- You need gcc in order to run the tests, if it is not already installed
$ dnf install gcc
- cd into the kernel-tests directory
$ cd kernel-tests
- Configure automatic submission of the test results and your FAS username:
$ cp config.example .config $ vim .config
Look for lines with "submit=" and "username=" and set these settings to "submit=authenticated" and "username=<your FAS login>".
How to test
- Run the default test suite:
$ sudo ./runtests.sh
- Run the performance test suite:
$ sudo ./runtests.sh -t performance
Expected Results
- Both runs of the test suite should result in PASS.