pmbootstrap/test
Oliver Smith db5e69630e
Index parser: support multiple package providers (#1202)
* The APKINDEX parser used to return a dictionary with one package for
  a given package name. This works for the installed packages database,
  because there can only be one provider for a package. But when
  parsing packages from binary repositories, we need to support
  multiple providers for one package. It is now possible to get a
  dictionary with either multiple providers, or just a single provider
  for each package.
* Dependency parsing logic has been adjusted, to support multiple
  providers. For multiple providers, the one with the same package
  name as the package we are looking up is prefered. If there is none
  (eg. "so:libEGL.so.1" is provided by "mesa-egl"), it prefers packages
  that will be installed anyway, and after that packages that are
  already installed. When all else fails, it just picks the first one
  and prints a note in the "pmbootstrap log".
* Added testcases for all functions in pmb.parse.apkindex and
  pmb.parse.depends
* pmbootstrap chroot has a new "--add" parameter to specify packages
  that pmbootstrap should build if neccessary, and install in the
  chroot. This can be used to quickly test the depencency resolution
  of pmbootstrap without doing a full "pmbootstrap install".

Fixes #1122.
2018-02-20 19:52:28 +00:00
..
testdata Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
check_checksums.py check_checksums.py: Non-zero exit on build error 2018-02-14 00:12:46 +01:00
static_code_analysis.sh static_code_analysis.sh: Find CHANGEMEs in APKBUILDs (#1161) 2018-01-24 21:31:07 +00:00
test_apk_static.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
test_aportgen.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_aportgen_device_wizard.py Fix #839: Check pkgver after parsing APKBUILD / various small improvements (#854) 2018-01-18 22:05:27 +00:00
test_aports_deviceinfo.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_bootimg.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_build_is_necessary.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
test_build_package.py pmbootstrap build --src: override source for any package (#1210) 2018-02-19 22:04:01 +00:00
test_buildroot_aarch64_init.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_chroot_interactive_shell.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_config_user.py Remove timestamp based rebuilds (#1174) 2018-01-28 23:27:33 +00:00
test_file.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_folder_size.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_frontend.py pmbootstrap build --src: override source for any package (#1210) 2018-02-19 22:04:01 +00:00
test_keys.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
test_mount.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_newapkbuild.py Wrap Alpine's newapkbuild (#894) 2018-01-15 22:00:11 +00:00
test_parse_apkindex.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
test_parse_depends.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
test_pkgrel_bump.py Remove timestamp based rebuilds (#1174) 2018-01-28 23:27:33 +00:00
test_qemu_running_processes.py Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00:00
test_questions.py Remove timestamp based rebuilds (#1174) 2018-01-28 23:27:33 +00:00
test_repo.py Remove rest of 'pmbootstrap challenge' left overs (#1173) 2018-02-01 22:03:21 +00:00
test_shell_escape.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01:00
test_soname_bump.py Gracefully handle packages breaking because of soname bumps (#1116) 2018-01-14 01:26:42 +00:00
test_upstream_compatibility.py Index parser: support multiple package providers (#1202) 2018-02-20 19:52:28 +00:00
test_version.py Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00:00
test_version_validate.py version.py: fix validation of 6.0_0002 (#1160) 2018-01-25 18:23:55 +00:00
testcases_fast.sh Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00:00