Current-Users archive

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

Re: useless /usr/tests tree for MKATF=no builds

On Mon, 29 Nov 2010, Nicolas Joly wrote:

While checking MKATF=no builds, i noticed that, in that case, we do
generate an almost useless `/usr/tests' tree.

While previously some shell tests could be run mannually, we can't now
because the interpreter switched to /usr/bin/atf-sh (since ATF 0.9).
Other test that require c/c++ APIs are not even built ... Only remains
a few input/results files.

Unless we plan to integrate stuff that will not use ATF, i'm currently
thinking of making tests set optional.

This will require a new mtree list (etc/mtree/NetBSD.dist.tests), a
new variable `test' in distrib/sets/sets.subr to allow generating the
corresponding `tests.tgz' archive. And maybe some other adjustements
somewhere ...

Before stepping into this one, what do people think ?

Sounds reasonable to me.

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

Home | Main Index | Thread Index | Old Index