Skip to content

tests: skip tests that will fail due to missing dependencies

Natanael Copa requested to merge ncopa/glib:bootstrap-tests into main

During bootstrap of glib there may be various dependencies that are missing:

  • shared-mime-info
  • update-desktop-database

They both need glib to build so they cannot exist while bootstrapping. Also /etc/machine-id may not exist, specially in non-systemd environments (windows, macos, musl libc, contintainers etc.)

We may still want run the other tests, so verify if those exists instead of simply failing when they don't.

This fixes #3317

Merge request reports