From Fedora Project Wiki

(added that python-fedora package was needed for submitting kernel results)
No edit summary
Line 13: Line 13:
<pre>
<pre>
$ dnf install python-fedora
$ dnf install python-fedora
</pre>
</li>
<li>cd into the kernel-tests directory
<pre>
$ cd kernel-tests
</pre>
</pre>
</li>
</li>

Revision as of 17:31, 20 November 2016

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 python-fedora packages are installed
  2. Clone the kernel-tests repository:
    $ git clone https://git.fedorahosted.org/git/kernel-tests.git
    
  3. For submission of test results make sure you have the package python-fedora installed
    $ dnf install python-fedora
    
  4. cd into the kernel-tests directory
    $ cd kernel-tests
    
  5. 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

  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.