You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the various probcomp repos utilize a src/ directory instead of a <MODULE_NAME>/ directory, tests cannot be run from within the repo directories themselves. Adding a symlink (e.g. ln -s src crosscat) fixes this issue but this workaround may have other side-effects. It would be preferable to update the directory structures. cc: @fsaad@zane@Schaechtle
$ make crosscat-test
====================================================================== test session starts =======================================================================
platform linux2 -- Python 2.7.11, pytest-2.8.5, py-1.5.2, pluggy-0.3.1
rootdir: /home/jovyan/crosscat, inifile:
collected 106 items
. ..........................................................................................................
=================================================================== 106 passed in 6.99 seconds ===================================================================
$ make crosscat-dev
Package plan for package removal in environment /opt/conda/envs/python2:
The following packages will be REMOVED:
crosscat: 2017.12.05-0 probcomp/label/edge
$ make crosscat-test
====================================================================== test session starts =======================================================================
platform linux2 -- Python 2.7.11, pytest-2.8.5, py-1.5.2, pluggy-0.3.1
rootdir: /home/jovyan/crosscat, inifile:
================================================================== no tests ran in 0.05 seconds ==================================================================
ERROR: file or package not found: crosscat
make: *** [crosscat-test] Error 4
tests cannot be run from within the repo directories themselves.
As mentioned in #1, all tests should be run using ./check.sh which takes care to (i) build the latest source and places it into build/ and (ii) add the build directory to the python path.
All the probcomp repositories should come equipped with ./check.sh --- let me know if any are missing.
It would be preferable to update the directory structures
There is no plan to change the directory structures from src/ for any existing repository (there are good reasons for why we made this design originally, and will not revert it).
Because the various probcomp repos utilize a
src/
directory instead of a<MODULE_NAME>/
directory, tests cannot be run from within the repo directories themselves. Adding a symlink (e.g.ln -s src crosscat
) fixes this issue but this workaround may have other side-effects. It would be preferable to update the directory structures. cc: @fsaad @zane @Schaechtleadd symlink:
now fixed:
The text was updated successfully, but these errors were encountered: