Skip to content

Conversation

@janl
Copy link
Member

@janl janl commented Dec 20, 2025

This allows debugging of test runs in a unified log.

It also retains individual test run state dirs if
make eunit fails. The next successful run will clean it up

This allows debugging of test runs in a unified log.

It also retains individual test run state dirs if
`make eunit` fails. The next successful run will clean it up
@janl janl merged commit 790271a into main Dec 20, 2025
49 checks passed
@janl janl deleted the feat/cat-test-logs branch December 20, 2025 11:23
eunit: export COUCHDB_QUERY_SERVER_JAVASCRIPT = $(CURDIR)/bin/couchjs $(CURDIR)/share/server/main.js
eunit: export COUCHDB_TEST_ADMIN_PARTY_OVERRIDE=1
eunit: ${SUBDIRS}
@cat tmp/couchdb-tests/*/log/couch.log > tmp/couch.log
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case of an eunit failure we won't run the commands here so we won't get all the logs. We only get them on success. But we may want the opposite case - in case of success ignore them, but in case of failure inspect them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants