From Fedora Project Wiki
Lhirlimann (talk | contribs) m (changing pyhton-fedora to pyhton3-fedora) |
(Combined step 1 and step 3 to a single dnf install command) |
||
Line 4: | Line 4: | ||
|setup= | |setup= | ||
<ol type="l"> | <ol type="l"> | ||
<li>Ensure the {{package|gcc}}, {{package|git}} and {{package|python3-fedora}} packages are installed</li> | <li>Ensure the {{package|gcc}}, {{package|git}} and {{package|python3-fedora}} packages are installed. For submission of test results make sure you have the package '''python3-fedora''' installed.</li> | ||
<pre> | |||
$ sudo dnf install gcc git python3-fedora | |||
</pre> | |||
<li>Clone the kernel-tests repository: | <li>Clone the kernel-tests repository: | ||
<pre> | <pre> | ||
Line 10: | Line 13: | ||
</pre> | </pre> | ||
</li> | </li> | ||
<li>You need '''gcc''', '''make''', '''libtirpc''' and '''libtirpc-devel''' in order to run the tests, if it is not already installed. | |||
<li>You need '''gcc''', '''make''', '''libtirpc''' and '''libtirpc-devel''' in order to run the tests, if it is not already installed | |||
<pre> | <pre> | ||
$ sudo dnf install gcc make libtirpc libtirpc-devel | $ sudo dnf install gcc make libtirpc libtirpc-devel |
Revision as of 16:48, 29 March 2019
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
andpython3-fedora
packages are installed. For submission of test results make sure you have the package python3-fedora installed. - Clone the kernel-tests repository:
$ git clone https://pagure.io/kernel-tests.git
- You need gcc, make, libtirpc and libtirpc-devel in order to run the tests, if it is not already installed.
$ sudo dnf install gcc make libtirpc libtirpc-devel
- 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 without quotes>".
$ sudo dnf install gcc git python3-fedora
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.