History log of /openbsd-current/regress/usr.bin/mandoc/db/run/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.11 09-Sep-2021 schwarze

Do not abuse the "cleandir" target to delete part of the test output.
According to /usr/share/mk/bsd.README, that target is only intended
to delete tags files, and there are no tags files here. Instead,
make sure the "clean" target does not leave any test output behind.

Issue reported and patch OK'ed by bluhm@.


# 1.10 18-Jul-2021 schwarze

Let the mandoc.db(5) test suite work with parallel make (make -j),
by making sure that different tests use different directory names
for their work such that they do not collide.
As a side benefit, this allows keeping the complete working directories
of the tests until "make cleandir" is run, which may occasionally
help debugging when something breaks.

The failure with make -j was detected and reported by anton@,
who also reviewed, tested, and OK'ed this somewhat lengthy patch.


# 1.9 17-Jul-2021 schwarze

Make the mandoc.db(5) tests work with BSDOBJDIR set,
by stripping initial parts of paths the do not matter
for the features being tested from man(1) output.

Problem found and reported by, solution developed together with, and
OK anton@


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.8 30-Jul-2020 schwarze

bluhm@ has been pointing out for a long time that the mandoc test suite
was quite nasty in hiding most of the commands being run with '@',
hindering debugging in case anything failed. In particular, it hindered
debugging that had to start from the log of a bulk regress run.

So, finally, resolve this issue by removing almost all these '@'s.
This commit does not change any of the test commands.

If you want to be sure that you don't miss failures, run something like:
make regress 2>&1 | tee make.log ; grep -B1 FAILED make.log


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.7 23-Aug-2017 schwarze

Catch up with mansearch.c rev. 1.60: When finding a bogus database
entry, print a meaningful warning and skip the entry.

The tests now require the actual manual pages to be around in
addition to the database, they find more results and print more
warnings.


# 1.6 17-May-2017 schwarze

*Add* a test checking that no empty databases get created,
by *removing* one line from the Makefile. Neat, isn't it?


# 1.5 17-May-2017 schwarze

Stop testing the creation and the properties of empty databases.
They are about to be deprecated.
For the tests built on top of them,
use a database containing a single page instead.


Revision tags: OPENBSD_6_1_BASE
# 1.4 23-Sep-2016 bluhm

Add dependencies to build the required test tools for mandoc on
demand. This is necessary to run make regress without make all or
make build.


# 1.3 30-Aug-2016 schwarze

Test handling of invalid pointers in the pages table.
In such cases, do not access NULL pointers in dbm_dump.
Make the setup in the run/Makefile a bit more systematic.
Output starts getting too long, so make everything silent;
you can always use "make -dl" to debug specific tests.


# 1.2 04-Aug-2016 schwarze

adjust database file name and version number to what was committed


# 1.1 30-Jul-2016 schwarze

test suite for the new mandoc.db(5) format;
will be enabled after committing in src/usr.bin/mandoc


# 1.10 18-Jul-2021 schwarze

Let the mandoc.db(5) test suite work with parallel make (make -j),
by making sure that different tests use different directory names
for their work such that they do not collide.
As a side benefit, this allows keeping the complete working directories
of the tests until "make cleandir" is run, which may occasionally
help debugging when something breaks.

The failure with make -j was detected and reported by anton@,
who also reviewed, tested, and OK'ed this somewhat lengthy patch.


# 1.9 17-Jul-2021 schwarze

Make the mandoc.db(5) tests work with BSDOBJDIR set,
by stripping initial parts of paths the do not matter
for the features being tested from man(1) output.

Problem found and reported by, solution developed together with, and
OK anton@


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.8 30-Jul-2020 schwarze

bluhm@ has been pointing out for a long time that the mandoc test suite
was quite nasty in hiding most of the commands being run with '@',
hindering debugging in case anything failed. In particular, it hindered
debugging that had to start from the log of a bulk regress run.

So, finally, resolve this issue by removing almost all these '@'s.
This commit does not change any of the test commands.

If you want to be sure that you don't miss failures, run something like:
make regress 2>&1 | tee make.log ; grep -B1 FAILED make.log


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.7 23-Aug-2017 schwarze

Catch up with mansearch.c rev. 1.60: When finding a bogus database
entry, print a meaningful warning and skip the entry.

The tests now require the actual manual pages to be around in
addition to the database, they find more results and print more
warnings.


# 1.6 17-May-2017 schwarze

*Add* a test checking that no empty databases get created,
by *removing* one line from the Makefile. Neat, isn't it?


# 1.5 17-May-2017 schwarze

Stop testing the creation and the properties of empty databases.
They are about to be deprecated.
For the tests built on top of them,
use a database containing a single page instead.


Revision tags: OPENBSD_6_1_BASE
# 1.4 23-Sep-2016 bluhm

Add dependencies to build the required test tools for mandoc on
demand. This is necessary to run make regress without make all or
make build.


# 1.3 30-Aug-2016 schwarze

Test handling of invalid pointers in the pages table.
In such cases, do not access NULL pointers in dbm_dump.
Make the setup in the run/Makefile a bit more systematic.
Output starts getting too long, so make everything silent;
you can always use "make -dl" to debug specific tests.


# 1.2 04-Aug-2016 schwarze

adjust database file name and version number to what was committed


# 1.1 30-Jul-2016 schwarze

test suite for the new mandoc.db(5) format;
will be enabled after committing in src/usr.bin/mandoc


# 1.10 18-Jul-2021 schwarze

Let the mandoc.db(5) test suite work with parallel make (make -j),
by making sure that different tests use different directory names
for their work such that they do not collide.
As a side benefit, this allows keeping the complete working directories
of the tests until "make cleandir" is run, which may occasionally
help debugging when something breaks.

The failure with make -j was detected and reported by anton@,
who also reviewed, tested, and OK'ed this somewhat lengthy patch.


# 1.9 17-Jul-2021 schwarze

Make the mandoc.db(5) tests work with BSDOBJDIR set,
by stripping initial parts of paths the do not matter
for the features being tested from man(1) output.

Problem found and reported by, solution developed together with, and
OK anton@


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.8 30-Jul-2020 schwarze

bluhm@ has been pointing out for a long time that the mandoc test suite
was quite nasty in hiding most of the commands being run with '@',
hindering debugging in case anything failed. In particular, it hindered
debugging that had to start from the log of a bulk regress run.

So, finally, resolve this issue by removing almost all these '@'s.
This commit does not change any of the test commands.

If you want to be sure that you don't miss failures, run something like:
make regress 2>&1 | tee make.log ; grep -B1 FAILED make.log


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.7 23-Aug-2017 schwarze

Catch up with mansearch.c rev. 1.60: When finding a bogus database
entry, print a meaningful warning and skip the entry.

The tests now require the actual manual pages to be around in
addition to the database, they find more results and print more
warnings.


# 1.6 17-May-2017 schwarze

*Add* a test checking that no empty databases get created,
by *removing* one line from the Makefile. Neat, isn't it?


# 1.5 17-May-2017 schwarze

Stop testing the creation and the properties of empty databases.
They are about to be deprecated.
For the tests built on top of them,
use a database containing a single page instead.


Revision tags: OPENBSD_6_1_BASE
# 1.4 23-Sep-2016 bluhm

Add dependencies to build the required test tools for mandoc on
demand. This is necessary to run make regress without make all or
make build.


# 1.3 30-Aug-2016 schwarze

Test handling of invalid pointers in the pages table.
In such cases, do not access NULL pointers in dbm_dump.
Make the setup in the run/Makefile a bit more systematic.
Output starts getting too long, so make everything silent;
you can always use "make -dl" to debug specific tests.


# 1.2 04-Aug-2016 schwarze

adjust database file name and version number to what was committed


# 1.1 30-Jul-2016 schwarze

test suite for the new mandoc.db(5) format;
will be enabled after committing in src/usr.bin/mandoc


# 1.8 30-Jul-2020 schwarze

bluhm@ has been pointing out for a long time that the mandoc test suite
was quite nasty in hiding most of the commands being run with '@',
hindering debugging in case anything failed. In particular, it hindered
debugging that had to start from the log of a bulk regress run.

So, finally, resolve this issue by removing almost all these '@'s.
This commit does not change any of the test commands.

If you want to be sure that you don't miss failures, run something like:
make regress 2>&1 | tee make.log ; grep -B1 FAILED make.log


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.7 23-Aug-2017 schwarze

Catch up with mansearch.c rev. 1.60: When finding a bogus database
entry, print a meaningful warning and skip the entry.

The tests now require the actual manual pages to be around in
addition to the database, they find more results and print more
warnings.


# 1.6 17-May-2017 schwarze

*Add* a test checking that no empty databases get created,
by *removing* one line from the Makefile. Neat, isn't it?


# 1.5 17-May-2017 schwarze

Stop testing the creation and the properties of empty databases.
They are about to be deprecated.
For the tests built on top of them,
use a database containing a single page instead.


Revision tags: OPENBSD_6_1_BASE
# 1.4 23-Sep-2016 bluhm

Add dependencies to build the required test tools for mandoc on
demand. This is necessary to run make regress without make all or
make build.


# 1.3 30-Aug-2016 schwarze

Test handling of invalid pointers in the pages table.
In such cases, do not access NULL pointers in dbm_dump.
Make the setup in the run/Makefile a bit more systematic.
Output starts getting too long, so make everything silent;
you can always use "make -dl" to debug specific tests.


# 1.2 04-Aug-2016 schwarze

adjust database file name and version number to what was committed


# 1.1 30-Jul-2016 schwarze

test suite for the new mandoc.db(5) format;
will be enabled after committing in src/usr.bin/mandoc


Revision tags: OPENBSD_6_2_BASE
# 1.7 23-Aug-2017 schwarze

Catch up with mansearch.c rev. 1.60: When finding a bogus database
entry, print a meaningful warning and skip the entry.

The tests now require the actual manual pages to be around in
addition to the database, they find more results and print more
warnings.


# 1.6 17-May-2017 schwarze

*Add* a test checking that no empty databases get created,
by *removing* one line from the Makefile. Neat, isn't it?


# 1.5 17-May-2017 schwarze

Stop testing the creation and the properties of empty databases.
They are about to be deprecated.
For the tests built on top of them,
use a database containing a single page instead.


Revision tags: OPENBSD_6_1_BASE
# 1.4 23-Sep-2016 bluhm

Add dependencies to build the required test tools for mandoc on
demand. This is necessary to run make regress without make all or
make build.


# 1.3 30-Aug-2016 schwarze

Test handling of invalid pointers in the pages table.
In such cases, do not access NULL pointers in dbm_dump.
Make the setup in the run/Makefile a bit more systematic.
Output starts getting too long, so make everything silent;
you can always use "make -dl" to debug specific tests.


# 1.2 04-Aug-2016 schwarze

adjust database file name and version number to what was committed


# 1.1 30-Jul-2016 schwarze

test suite for the new mandoc.db(5) format;
will be enabled after committing in src/usr.bin/mandoc