xref: /OK3568_Linux_fs/kernel/tools/testing/ktest/examples/README (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunThis directory contains example configs to use ktest for various tasks.
2*4882a593SmuzhiyunThe configs still need to be customized for your environment, but it
3*4882a593Smuzhiyunis broken up by task which makes it easier to understand how to set up
4*4882a593Smuzhiyunktest.
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThe configs are based off of real working configs but have been modified
7*4882a593Smuzhiyunand commented to show more generic use cases that are more helpful for
8*4882a593Smuzhiyundevelopers.
9*4882a593Smuzhiyun
10*4882a593Smuzhiyuncrosstests.conf - this config shows an example of testing a git repo against
11*4882a593Smuzhiyun    lots of different architectures. It only does build tests, but makes
12*4882a593Smuzhiyun    it easy to compile test different archs. You can download the arch
13*4882a593Smuzhiyun    cross compilers from:
14*4882a593Smuzhiyun  https://kernel.org/pub/tools/crosstool/files/bin/x86_64/
15*4882a593Smuzhiyun
16*4882a593Smuzhiyuntest.conf - A generic example of a config. This is based on an actual config
17*4882a593Smuzhiyun     used to perform real testing.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunkvm.conf - A example of a config that is used to test a virtual guest running
20*4882a593Smuzhiyun     on a host.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyunsnowball.conf - An example config that was used to demo ktest.pl against
23*4882a593Smuzhiyun     a snowball ARM board.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyuninclude/  -  The include directory holds default configs that can be
26*4882a593Smuzhiyun    included into other configs. This is a real use example that shows how
27*4882a593Smuzhiyun    to reuse configs for various machines or set ups. The files here
28*4882a593Smuzhiyun    are included by other config files, where the other config files define
29*4882a593Smuzhiyun    options and variables that will make the included config work for the
30*4882a593Smuzhiyun    given environment.
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun
33