On 2018/05/28 17:14, Elias M. Mariani wrote: > I'm working on several python ports that make use of py-test, for now: > - py-test-timeout > - py-pandas > > pytest-timeout uses itself as a test (duh...) but when calling "pytest > --timeout 1" for example, pytest does not recognizes the "--timeout 1" > option from the timeout plugin because is not installed (even when it > recognizes the plugin because it prints: "plugins: timeout". > If I install the plugin and then run the test it runs with 0 errors. > I would like to know what uses are given to the test part of the ports > tree, if its only for check updates of the port I could add > pytest-timeout as a test dependency of itself and a bizarre workflow > of: > fetch-build-test-install-test would happen. > Or I could just mark the plugin as "NO_TEST". > > py-pandas case is explained in a previous mail: > https://marc.info/?l=openbsd-ports&m=152744244418530 > > Cheers. > Elias. >
TEST_DEPENDS on the current port is fine, it's not particularly unusual, especially with python things.