domino test should depend on core pyext, but it currently does not.
The error messages for test failures have the file paths based out of the wrong directory (modules/module/test rather than the directory that scons test was run from). This breaks emacs and other programs which attempt to locate the files which caused the error. I typically run the output through sed (or use a modified run-all-tests.py which works from the root directory) to get around this, but that is a bit annoying and it would be really nice if the all paths were relative to the root dir.
Daniel Russel wrote: > domino test should depend on core pyext, but it currently does not.
Turns out that scanners are not recursive by default. Since the IMP.domino tests don't pull in IMP.core directly, but via my_optimizer.py, they weren't picking up the dependency. Should now be fixed in r765.
> The error messages for test failures have the file paths based out of > the wrong directory (modules/module/test rather than the directory > that scons test was run from). This breaks emacs and other programs > which attempt to locate the files which caused the error. I typically > run the output through sed (or use a modified run-all-tests.py which > works from the root directory) to get around this, but that is a bit > annoying and it would be really nice if the all paths were relative to > the root dir.
I agree, and will look into this.
Ben
On Oct 8, 2008, at 9:36 AM, Ben Webb wrote:
> > Turns out that scanners are not recursive by default. Since the > IMP.domino tests don't pull in IMP.core directly, but via > my_optimizer.py, they weren't picking up the dependency. Should now be > fixed in r765. Thanks.
>> The error messages for test failures have the file paths based out of >> the wrong directory (modules/module/test rather than the directory >> that scons test was run from). This breaks emacs and other programs >> which attempt to locate the files which caused the error. I typically >> run the output through sed (or use a modified run-all-tests.py which >> works from the root directory) to get around this, but that is a bit >> annoying and it would be really nice if the all paths were relative >> to >> the root dir. > > I agree, and will look into this. Cool.
participants (2)
-
Ben Webb
-
Daniel Russel