| Bill Allombert on Thu, 31 Dec 2020 10:24:46 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: How to test a build? |
On Wed, Dec 30, 2020 at 08:39:40PM -0500, Jeffrey Walton wrote:
> Hi Everyone,
>
> I'm building the pari-2.13.0 from the release tarball. The build seems
> to go OK, but both 'make check' and 'make test' fails:
>
> pari-2.13.0$ make test
> make: *** No rule to make target 'test'. Stop.
> pari-2.13.0$ make check
> make: *** No rule to make target 'check'. Stop.
>
> I checked the FAQ but I don't see a discussion of testing the build.
> Cf., https://pari.math.u-bordeaux.fr/faq.html#install.
>
> Forgive my ignorance... How do I test the build?
I recommend 'make bench' if you are in a hurry and 'make statest-all' if
you have 10 minutes to spare.
The make target are documented by running 'make':
%make
Main targets: we suggest 'make all', then 'make install' as root
all Compilation + Documentation
gp Compilation
bench Compilation + Quick test
dobench Quick test only
doc Documentation only
install Installation
clean, cleantest Clean up
For pari maintainers:
dbg Compile gp binary suitable for debugging
prf Compile gp binary suitable for profiling
gcov Compile gp binary for test coverage reporting
alpha, beta, release Tarfile for official source distribution
snapshot, distrib Tarfile for source snapshot
nsis Create a NSIS installer for win32
ctags Generate VI/VIM tags file in ./src
etags Generate Emacs tags file in ./src
tune Generate tuning utility
test-all Thorough regression tests (slow)
Cheers,
Bill