From Fedora Project Wiki

(python3-fedora)
m (Changing package to pyhton3-fedora as its for fedora 28 and 29)
Line 4: Line 4:
|setup=
|setup=
<ol type="l">
<ol type="l">
<li>Ensure the {{package|gcc}}, {{package|git}} and {{package|python-fedora}} packages are installed</li>
<li>Ensure the {{package|gcc}}, {{package|git}} and {{package|python3-fedora}} packages are installed</li>
<li>Clone the kernel-tests repository:
<li>Clone the kernel-tests repository:
<pre>
<pre>
Line 10: Line 10:
</pre>
</pre>
</li>
</li>
<li>For submission of test results make sure you have the package '''python-fedora''' installed ('''python3-fedora''' on Fedora 29/Rawhide)
<li>For submission of test results make sure you have the package '''python3-fedora''' installed
<pre>
<pre>
$ sudo dnf install python-fedora
$ sudo dnf install python-fedora

Revision as of 08:59, 26 September 2018

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

  1. Ensure the gcc, git and python3-fedora packages are installed
  2. Clone the kernel-tests repository:
    $ git clone https://pagure.io/kernel-tests.git
    
  3. For submission of test results make sure you have the package python3-fedora installed
    $ sudo dnf install python-fedora
    
  4. 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
    
  5. cd into the kernel-tests directory
    $ cd kernel-tests
    
  6. 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>".

How to test

  1. Run the default test suite:
    $ sudo ./runtests.sh
    
  2. Run the performance test suite:
    $ sudo ./runtests.sh -t performance
    

Expected Results

  1. Both runs of the test suite should result in PASS.