Re: How to run tests without installing?
Date: Mon, 29 Apr 2024 20:47:46 UTC
On Mon, Apr 29, 2024 at 12:34:51PM +0200, Christian Weisgerber wrote: > How can I run the regression tests on my work-in-progress without > installing it first? > > Say I'm changing something in sh. Can I run the tests on the > compiled sh in /usr/obj, without having to install my potentially > broken work into the system? Running "make tests" in src/bin/sh > doesn't seem to actually test anything. Generally speaking you can't. This is one of the problematic things about the current test framework. The best you can do for something like sh where you really don't want to install a broken one is probably installing in a jail and running tests there. -- Brooks