Pranith Kumar <[email protected]> writes: > From: Marc-André Lureau <[email protected]> > > It's possible to run the test directly, tests/test-foo, but then > recompilation is not triggered and test environment variables aren't set > for you. > > Signed-off-by: Marc-André Lureau <[email protected]> > Signed-off-by: Pranith Kumar <[email protected]>
Reviewed-by: Alex Bennée <[email protected]> > --- > tests/Makefile.include | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/Makefile.include b/tests/Makefile.include > index e98d3b6..2a2b78d 100644 > --- a/tests/Makefile.include > +++ b/tests/Makefile.include > @@ -731,6 +731,7 @@ check-help: > @echo " make check-qtest-TARGET Run qtest tests for given target" > @echo " make check-qtest Run qtest tests" > @echo " make check-unit Run qobject tests" > + @echo " make check-tests/test-foo Run the tests/test-foo unit test only" > @echo " make check-qapi-schema Run QAPI schema tests" > @echo " make check-block Run block tests" > @echo " make check-report.html Generates an HTML test report" -- Alex Bennée
