From Fedora Project Wiki

Revision as of 17:17, 12 April 2019 by Lhirlimann (talk | contribs) (gcc is installed in step1)

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. For submission of test results make sure you have the package python3-fedora installed.
  2. $ sudo dnf install gcc git python3-fedora
    
  3. Clone the kernel-tests repository:
    $ git clone https://pagure.io/kernel-tests.git
    
  4. You need make, libtirpc and libtirpc-devel in order to run the tests, if it is not already installed.
    $ sudo dnf install 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.