Web lists-archives.com

Re: GTK+ tests


On 15 January 2016 at 11:56, FAURE, MAXIMILIEN
<maximilien.faure@xxxxxxxx> wrote:
> Hello,
> I try to port GTK+ on AIX. I succed to compile it but I don't know why,
> tests failed (with the error : Illegal instruction (core dumped))
> I would like to know where we can found documents which explain the
> process when we type "make check" in order to can control and execute
> just one test.

GLib does not do anything special, in this regard.

When running `make check`, Make goes through all the test programs,
builds them, and launches them. Usually, it does it under a test
harness — the default being the TAP harness, which checks the output
and generates a log and a report at the end.

You can just go under each tests/ sub-directory, run `make check` to
build and run each test. If one fails, you can re-run the failing test
by launching the test executable. There's also the option of running
the test under GDB, or similar debuggers, using `libtool --mode


[@] ebassi [@gmail.com]
gtk-list mailing list