From Fedora Project Wiki

No edit summary
m (sudo dnf install gcc)
Line 17: Line 17:
<li>You need '''gcc''' in order to run the tests, if it is not already installed
<li>You need '''gcc''' in order to run the tests, if it is not already installed
<pre>
<pre>
$ dnf install gcc
$ sudo dnf install gcc
</pre>
</pre>
</li>
</li>

Revision as of 11:31, 9 October 2017

Description

This test case tests Package-x-generic-16.pngkernel using the kernel regression test suite. For details about the test suite, see https://fedoraproject.org/wiki/KernelTestingInitiative.

Setup

  1. Ensure the Package-x-generic-16.pnggcc, Package-x-generic-16.pnggit and Package-x-generic-16.pngpython-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 python-fedora installed
    $ sudo dnf install python-fedora
    
  4. You need gcc in order to run the tests, if it is not already installed
    $ sudo dnf install gcc
    
  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.