Floris Bruynooghe
unread,May 19, 2015, 6:37:14 AM5/19/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to conda
Hi,
I often struggle finding the correct way to run test suites in the
test section of a build recipe. For the standard python package it
seems there are two broad categories:
1) The package installs only python modules and no tests. In this
case I generally want to be able to run the tests in the source
against the installed package in the test environment. This seems
possible using something like "test-tool $SRC_DIR/path/to/tests". So
far so good.
2) The package installs the test together with the python modules. In
this case I'd generally like to run "test-tool $SP_DIR/pkgname/", only
all the variables, like $SP_DIR point to the (now even deleted) build
environment and not the actual test environment. I know it just
inherited this because of the bulid process, but it seems like the
test process should also get a set of environment variables to use.
Would it make sense to add some environment variables to the test
process, or did I miss an obvious feature somewhere?
Thanks,
Floris