Re: [PATCH] tests: Handle system-wide tunables in rseq tests
Adhemerval Zanella Netto <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Organization | Linaro |
| Message-ID | <[email protected]> |
On 07/07/26 05:37, Yury Khrustalev wrote: > On Mon, Jul 06, 2026 at 06:01:33PM -0400, DJ Delorie wrote: >> Michael Jeanson <[email protected]> writes: >>> But once the stamp file exists it shouldn't recreate the testroot on >>> each 'make test t=' invocation? >> >> Ah, make once, yes. That would help, although I don't know if there's >> anything else that needs to be done "once" for a testsuite to work. > > Running > > make $(pwd)/testroot.pristine/install.stamp > > Is enough for any 'make test t=...' in my experience. Moreover, I > suppose it's only required for the tests that are in 'tests-container'. > > So, I agree with Adhemerval that this dependency might be useful. The 'make test t=...' will not work for test-containers without the container installed anyway. And the idea is to regenerate the contain iff some hard dependency requires rebuild, like libc.so (adding all installed files also does not make much sense). So 'make test t=...' where only the test is updated should not trigger a new container installation.