NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/60016 (make(1) tests failing since sjg MaybeSubMake changes)



Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
>   | That test failed because .make was missing.
> 
> Are you sure?

That's a very good question actually.

Normally these tests are run 'make test' in usr.bin/make, that makefile
passes an absolute path for TEST_MAKE which is what all these tests will
see as ${MAKE}

But when run via atf-run, I suspect MAKE will be just make
which will not do anything useful in the symlink below.

> 
> When make does:
> 
>         .make:
>                  @ln -sf ${MAKE} ${.TARGET}
> 
> no file named ".make" in "." (the normal, common, case) or if .make is
> a symlink, and the target of the symlink doesn't exist (or sometimes other
> errors based upon the lookup of the target).

That is the more likely case.

Let me check I can reproduce the issue...

Thanks
--sjg


Home | Main Index | Thread Index | Old Index