Tox should never ever be used for check() exactly for the reasons your pointed out. It is supposed to check the build/package works without regression in the environment it will run in. Running the test against system libraries that are later after install used by the runtime is the way check() should behave otherwise it's pointless in the context of checking the package.
Re: [aur-general] Exact purpose of check()
Levente Polyak via aur-general Wed, 02 Jan 2019 06:55:24 -0800
- [aur-general] Exact purpose of check() Julien Nicoulaud via aur-general
- Re: [aur-general] Exact purpose of c... Eli Schwartz via aur-general
- Re: [aur-general] Exact purpose of c... Levente Polyak via aur-general
- Re: [aur-general] Exact purpose of c... Morten Linderud via aur-general
- Re: [aur-general] Exact purpose ... Morten Linderud via aur-general
- Re: [aur-general] Exact purp... Eli Schwartz via aur-general