1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-05 12:45:46 +01:00

102 Commits

Author SHA1 Message Date
Evan Goode
24a7a79595 Add testcase for color filtering when adding update targets
Related: https://github.com/openSUSE/libsolv/issues/583
2026-01-20 14:11:40 -05:00
Gleb Popov
97f5d50ffb runtestcases.sh: Use portable shebang 2025-12-09 19:26:21 +03:00
Michael Schroeder
5c99be44c4 Add regression test for last commit 2025-04-15 12:53:25 +02:00
Michael Schroeder
8151b3a8b4 Add new SOLVER_FLAG_FOCUS_NEW focus type
First resolve the given jobs, then the dependencies of the
resulting packages ignoreing the ones provided by currently
installed packages. After that resolve all already installed
packages. This is similar to SOLVER_FLAG_FOCUS_BEST but less
aggressive in updating packages.

Fixes issue #549
2024-07-09 13:06:16 +02:00
Michael Schroeder
66c5b02c4b make testcases debian proof 2024-04-10 13:08:05 +02:00
Michael Schroeder
9b55a669e7 Add testcases for proof generation 2024-04-10 12:33:17 +02:00
Michael Schroeder
600aa2b96d Add testcase for issue #550 2024-02-13 15:26:28 +01:00
Michael Schroeder
fd326d72a1 Add 'feature complex_deps' to ifelse_rec.t testcase 2023-04-19 09:50:58 +02:00
Michael Schroeder
47734e26d6 Add testcase for last commit 2023-04-18 12:36:40 +02:00
Michael Schroeder
bd26a4873a Add testcase for yumobs pruning 2022-12-19 14:49:46 +01:00
Michael Schroeder
7fef0e3900 Add alternative/yumobs.t testcase 2022-12-15 11:51:14 +01:00
Michael Schroeder
a6b622c05b Do not report alternatives for yumobs splits 2022-12-15 11:50:04 +01:00
Michael Schroeder
73d072b09d Add release to obsoletes in the alternative/update.t test
Otherwise it fails on debian.
2022-12-15 11:00:47 +01:00
Michael Schroeder
577633c245 Require rpm dependencies in alternative/learnt
The pool_dep2str() output depends on the disttype
2022-12-15 10:26:27 +01:00
Michael Schroeder
8ae7e91872 Add testcases for the alternative introspection 2022-12-14 17:02:02 +01:00
Michael Schroeder
14a57e5be4 Adapt testcases to the last change 2022-12-14 17:01:23 +01:00
Michael Schroeder
87bf7ba398 Add a testcase for orphaned package handling in choice rules 2022-11-11 14:12:47 +01:00
Michael Schroeder
9cb62e9db3 Add complex_deps requirement to choice1b testcase 2022-03-16 15:27:52 +01:00
Michael Schroeder
ce9dda7d3e Add more choicerules tests 2022-03-16 15:16:42 +01:00
Michael Schroeder
871c4936fd runtestcases.sh: order the testcases 2022-03-10 14:23:34 +01:00
Michael Schroeder
fc694cf6fa Fix duplicate line in the choice2.t testcase 2022-03-03 15:35:39 +01:00
Michael Schroeder
e79734abf6 Finish strict repo priority support
- add flag to bindings
- support flag/ruletype in testcases
- support strict repo prio problems in solution generation
- implement automatic disabling of strict repo rules due to install jobs
- add a testcase
2021-10-15 11:03:12 +02:00
Jaroslav Mracek
5cf206ae33 Add mechanisms to ignore pkgs for weak dependencies
It adds mechanism to avoid installation of certain packages
to satisfy recommends and supplemented.
2021-08-09 16:14:22 +02:00
Michael Schroeder
958c8396ad Further extend choicerule filtering check
Also add testcases. Fixes issue #406.

This is getting quite complicated...
2020-11-13 15:58:51 +01:00
Michael Schroeder
a273ff91ca Add testcase for better choicerule creation 2020-10-06 13:43:39 +02:00
Michael Schroeder
3026a7ad5e Use 'rpm' for retracted to make the problem string match 2020-09-11 12:23:34 +02:00
Michael Schroeder
48e7173342 Use unset as architecure in the blacklist testcases
Otherwise the tests will fail on debian.
2020-09-11 11:48:17 +02:00
Michael Schroeder
519e7b6bdd Rename testcases so that they get used by 'make test' 2020-06-26 15:44:52 +02:00
Michael Schroeder
4120051be8 Add support for blacklisted packages
This will be used in SUSE's ptf packages and also to retract
released updates. The idea is that it is not possible to pull in
a blacklisted package via a dependency, they can only be installed
by a job that directly addresses them (the SETEVR bit is set).
2019-11-08 14:34:18 +01:00
Michael Schroeder
7477a28ca5 Add testcases for POOL_FLAG_WHATPROVIDESWITHDISABLED 2019-10-08 13:41:45 +02:00
Michael Schroeder
0ea973e9ff Another deb tweak 2019-06-03 16:01:07 +02:00
Michael Schroeder
83dac6fd0a Make testcase run on debian 2019-06-03 15:59:46 +02:00
Michael Schroeder
47554593c5 Add testcases for last commit 2019-06-03 15:45:37 +02:00
Wolf Vollprecht
f2f77d9e6a Add MSVC compilation support with musl, enable OS X testing 2019-04-11 16:26:35 +02:00
Michael Schroeder
19265e6271 Test last commit 2019-04-09 13:11:22 +02:00
Michael Schroeder
357200c15a Use system type rpm in testcase
Otherwise arch 'noarch' is unknown
2019-04-08 15:07:14 +02:00
Michael Schroeder
f93123bedd Fix tests
All tests should have a results section
2019-04-08 14:49:07 +02:00
Michael Schroeder
3726508400 Escape \ in file argument before calling ADD_TEST 2019-04-03 11:28:31 +02:00
Michael Schroeder
a112e9cefe Add testcase for cleandeps fix 2019-03-26 11:50:10 +01:00
Michael Schroeder
2e88b25f54 Add testcase for last commit 2019-01-15 14:10:38 +01:00
Michael Schroeder
e90ef86700 Add testcase for the last commit 2018-12-18 16:55:29 +01:00
Michael Schroeder
2645bc64b3 Do favor evaluation before pruning
This allows to support favoring single packages. As a side effect,
we'll have the best version displayed as alternative.

This changes the code to use a favor id for every solvable, which
means that it uses quite a bit of memory but makes the code much
easier and faster.
2018-12-10 15:05:39 +01:00
Michael Schroeder
d17aa8f15c Do not autouninstall packages because of forcebest updates 2018-11-30 15:05:33 +01:00
Michael Schroeder
1052e5cd48 Note to self: do not commit unfinished test cases... 2018-11-30 14:35:16 +01:00
Michael Schroeder
581a11d3ea Do not auto-erase disabled packages 2018-11-30 14:28:59 +01:00
Michael Schroeder
d8ac0b676f Switch order of tilde and caret check in evr.c
Tilde must come before caret, so that 1.0~1 < 1.0^1
Also add this to the testcase.
2018-11-26 14:20:16 +01:00
Michael Schroeder
ec13015627 Enable support for new rpm's caret comparison
And add a testcase.
2018-11-26 12:55:20 +01:00
Michael Schroeder
93d10488ad Add experimental SOLVER_FLAG_ONLY_NAMESPACE_RECOMMENDED flag
This limits the recommends/supplements to namespace dependencies.
2018-11-22 16:22:12 +01:00
Michael Schroeder
85b31edf51 Test selection_matchsolvable 2018-10-08 13:23:36 +02:00
Michael Schroeder
b5d0451c75 Fix selection_canon when there's a zero epoch provided
Also add tests.
2017-11-20 15:15:23 +01:00