running only selected tests in samba sources

Andreas Schneider asn at samba.org
Tue Oct 25 17:16:00 UTC 2022


On Tuesday, 25 October 2022 12:49:50 CEST Michael Tokarev wrote:
> 25.10.2022 13:15, Andreas Schneider wrote:
> > On Tuesday, 25 October 2022 11:16:30 CEST Michael Tokarev via
> > samba-technical
> ..
> 
> >>> https://wiki.samba.org/index.php/Writing_Torture_Tests#Running_tests
> >> 
> >> All this applies to a build with --enable-selftest. My question was how
> >> it is possible to run certain tests (like ldb selftests for example)
> >> without building whole thing with --enable-selftest.
> > 
> > Run 'make test' in the ldb package. See the libldb spec file.
> 
> Um. What *is* ldb package? Do you mean the separate ldb-x.y.x.tar.gz
> tarball? I was asking about the ldb bundled within samba tarball.
> 
> Does samba ship spec files? I don't see any?

cd lib/ldb
./configure
make
make test

-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list