To run these tests, you need at least these dependencies on the host:
- fakechroot
- gdb
- gnupg >= 2.0
Then run the command
make check
The number of tests performed depends on features enabled at configure time,
at least --with-/--without-lua and --enable-/--disable-python.
See also the INSTALL file for more information.
To run single tests, you can run the commands:
make check TESTOPTS="$NNN $MMM"
where NNN and MMM are the numbers of the tests to be run.
You can also select tests by keywords used in their description by using the command:
make check TESTOPTS="-k $KEYWORD"
Use multiple -k parameters to have tests with different keywords run.
Use -k $KEYWORD1,$KEYWORD2 to execute tests matching both KEYWORD1 and KEYWORD2.
For all available options, see the output of the command:
./rpmtests --help
By default, tests are executed in parallel using all available cores, pass a specific -jN value to limit.