pmbootstrap-meow/test
Oliver Smith 5e85d72ca0
Testsuite: Run UIs in Qemu and check running processes and more (#982)
* Testsuite: Run UIs in Qemu and check running processes (and other changes)

* When `pmbootstrap qemu` gets killed, it now takes down the Qemu process with it
* `test/check_checksums.py` got a new optional `--build` parameter, which makes
  it build all changed packages instead of just checking the checksums
* We run this before running the testsuite now, so all changed packages get
  built before running tests (otherwise tests would hang without any output
  while a changed package is building)
* New testcase, that zaps all chroots, installs a specific UI (xfce4 and
  plasma-mobile currently, easy to extend), runs it via Qemu and checks the
  running processes via SSH.
* Version checking testcase: rewritten to include Alpine's testsuite file in
  our source tree, so we don't need to clone their git repo anymore. Now it
  is enabled for Travis.
* All this gives us a nice 10% code coverage boost
* Increased the `hello-world` pkgrel to verify that the Travis job is working.

* Various fixes
* Build device-packages for the device arch and don't raise an
  exception, but print a note if --ignore-depends is not specified
  and therefore the kernel gets installed, too.
* Don't use --force when building in Travis (because abuild doesn't
  check the checksums then. Bug report on the way.)
* Don't run the building process in the background, but wait for its
  completion
* Exit with 1 when showing usage in check_checksums.py
2018-02-02 00:16:29 +00:00
..
testdata Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00:00
check_checksums.py Testsuite: Run UIs in Qemu and check running processes and more (#982) 2018-02-02 00:16:29 +00: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 Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01: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 Remove timestamp based rebuilds (#1174) 2018-01-28 23:27:33 +00:00
test_build_package.py Remove rest of 'pmbootstrap challenge' left overs (#1173) 2018-02-01 22:03:21 +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_keys.py Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01: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 Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01: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 Happy new year! (update copyright to 2018) 2018-01-04 04:53:35 +01: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