Skip to content

Modify test-database make target to not capture stdout and log#1597

Merged
mjohnson541 merged 1 commit intomasterfrom
dbtest_nolog
May 17, 2019
Merged

Modify test-database make target to not capture stdout and log#1597
mjohnson541 merged 1 commit intomasterfrom
dbtest_nolog

Conversation

@mliu49
Copy link
Copy Markdown
Contributor

@mliu49 mliu49 commented May 9, 2019

Motivation or Problem

When database tests fail, you get a million lines of logging statements, making it a pain to find the actual test results.

Description of Changes

Disable log capturing for make test-database.

Testing

Break the database and try running the tests. A couple easy options: change an index in training reactions to be a duplicate or change a group definition to be more specific than its children.

There are too many logging statements which get printed when the
tests fail, and they aren't usually useful. This way, it's much
easier to find the test output.

Also change the other arguments to the long forms for clarity.
@mliu49 mliu49 requested a review from mjohnson541 May 9, 2019 22:23
@mliu49 mliu49 self-assigned this May 9, 2019
@mliu49
Copy link
Copy Markdown
Contributor Author

mliu49 commented May 16, 2019

@mjohnson541, could you please take a look and merge this? It will only take a minute.

@mjohnson541
Copy link
Copy Markdown
Contributor

Can you rebase?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants