|
Re: non-recursive make and tests: msg#00112sysutils.automake.general
On Mon, 30 Aug 2004, Bob Friesenhahn wrote:
It seems that this topic has not caught anyone's interest since there have been no follow-up posts today. Surely someone else has converted their recursive project to a non-recursive project and noticed that it is very difficult to get test suites working again? The current check-TESTS definition works great for recursive builds, but is miserable for non-recursive builds. The $(srcdir) value passed is often essentially useless since it may just be '.'. It is difficult for the Makefile to produce better values except for perhaps offsets from @abs_top_srcdir@ and @abs_top_builddir@ substitutions. It may also be possible to play games by passing back-ticked shell script fragments rather than normal values in the TESTS_ENVIRONMENT specification. Regardless, the tests themselves should not have to know their position in the source or build tree. Bob ====================================== Bob Friesenhahn bfriesen@xxxxxxxxxxxxxxxxxxx http://www.simplesystems.org/users/bfriesen |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | non-recursive make and tests: 00112, Bob Friesenhahn |
|---|---|
| Next by Date: | Re: non-recursive make and tests: 00112, Robert Collins |
| Previous by Thread: | non-recursive make and testsi: 00112, Bob Friesenhahn |
| Next by Thread: | Re: non-recursive make and tests: 00112, Robert Collins |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |