nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] new test-show tests broken

2015-02-12 07:40:31
it all works very nicely, until show tries to invoke mhshow.  it does
so using nmhbindir(), which returns a hard-coded copy of the
configured install path.  if nmh has never been installed on the
machine where the test is being run (i.e., no "make install" has
happened), then show won't find /usr/local/bin/mhshow (/usr/local/bin
is the default install path), and the test-show will fail.  or, if
"make install" _has_ been done before for a different version of nmh,
the tests will run a newer local show command along an older
/usr/local/bin/mhshow, and the test may or may not work.

I ... kind of thought we had code to deal with this for other programs.
So there should be examples we can crib from.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>