Maurice Lombardi wrote:
You are right. In fact I have made this change in one of the previous alphas, forgot to say this to you and kept the diff on Make-lang.in in my files. I noticed it because Franck sent a new diff (RTSSTAGESTUFF) on the same file, and I sent my old diff to you. Now I have suppressed this diff, the Makefile generated in build/gcc/p/test has a wrong --unit-path but the test runs successfully because the script test_run supplies a correct unit-path So you should correct Make-lang.in either by supplying the correct unit-path or by suppressing it
I agree that there's a bit of duplication (but it may be useful for running in the source test directory), but the original line in Makefile.in was definitely wrong, as you pointed out, and I'm replacing it with:
s,^TEST_PATHS *=.*,TEST_PATHS=-I ../rts --unit-path=`cd $(srcdir)/p/units && pwd`," \
Notice that the I ../rts is necessary to find the generated files build/gcc/p/rts/rts-config.[h inc] which are not in the source tree.
Indeed.
Frank