Better output in failed tests #645

issue real-or-random opened this issue on July 2, 2019
  1. real-or-random commented at 11:48 PM on July 2, 2019: contributor

    When a test fails, it currently outputs only the failed assertion (with file and line) to stderr. The seed is output to stdout only. Moreover, neither stdout nor stderr are output on make check. Instead, the stderr is written to ./test-suite.log

    As a consequence, a non-reproducible failure on Travis is somewhat useless to us because we just see the FAIL but we have no idea what failed because we don't see the contents of the log file. (This just happened downstream in secp256k1-zkp). A similar issue was the failed PR build on a Fedora build server, which contained only stderr #558 (comment) and thus we didn't get the seed.

    We should probably

  2. real-or-random closed this on Nov 25, 2019

  3. achow101 referenced this in commit 0db61d25c9 on Oct 31, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:52 UTC