Michał Górny committed b30868d

Tests: skip PMs which fail to load.

For example, pkgcore fails when EAPI=5 profile is used. This doesn't
help Paludis which checks profiles later.

  • Participants
  • Parent commits b5e6b7a

Comments (0)

Files changed (1)

 				pm_inst = gentoopm.submodules.get_pm(pm)
 			except ImportError:
 				print('%s not available, skipping tests.' % pm)
+			except Exception as e:
+				print('Unable to use %s: %s' % (pm, e))
 				l = gentoopm.tests.PMTestLoader(pm_inst)