diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-22 15:17:09 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-29 14:38:07 +0200 |
commit | d905a3ab52c9c046d58f4baa3f31092cc21ae5d4 (patch) | |
tree | 3ad12b51c27a0ed38c0f0c6ad4d552b42f02a165 /t/README | |
parent | 0c75fab9fad1c9e63962c0c853eaf108bca5db9e (diff) | |
download | urpmi-d905a3ab52c9c046d58f4baa3f31092cc21ae5d4.tar urpmi-d905a3ab52c9c046d58f4baa3f31092cc21ae5d4.tar.gz urpmi-d905a3ab52c9c046d58f4baa3f31092cc21ae5d4.tar.bz2 urpmi-d905a3ab52c9c046d58f4baa3f31092cc21ae5d4.tar.xz urpmi-d905a3ab52c9c046d58f4baa3f31092cc21ae5d4.zip |
describe the testsuite
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -1,4 +1,33 @@ +The tests are running the following way: + +01compile.t ensures everything is valid perl +02create_pkgs.t builds the various RPMs needed by the others tests +cfg.t tests reading/writing the config files +pod.t check for POD errors in files (optional) +superuser--*.t + +The first tests just ensure that basic things in urpmi works. + you need to be root to run superuser--*.t, with a normal user those tests are simply skipped. +They actually test both urpmi, URPM _and_ *rpm* extensively. +It had often found regressions in rpm itself that rpm's own testsuite didn't found. + +superuser--file-conflicts.t runs only some patches on Mageia due to having a +downstream patch there + +superuser--mirrorlist.t will only be run on Mageia as it needs a specific patch +that introduces Time::ZoneInfo->current_zone() + +Usage: +------ + use "make testall" + +You can speed up things by using eatmydata which will prevent all the fsync() +& fdatasync() calls in librpm: +eatmydata make testall + +If you didn't alter the tests data, you can further speedup a re-run by using: +[[ -d t/media ]] && mv -f t/02create_pkgs.t{,.i} |