test_bitcoin fails unless run from src/ subdirectory #1138

issue luke-jr opened this issue on April 22, 2012
  1. luke-jr commented at 3:39 PM on April 22, 2012: member
    Running 52 test cases...
    Disconnected 1.192.176.160:8333 for misbehavior (score=100)
    Disconnected 2.192.176.160:8333 for misbehavior (score=100)
    Disconnected 1.192.176.160:8333 for misbehavior (score=111)
    Disconnected 1.192.176.160:8333 for misbehavior (score=100)
    test/script_tests.cpp(99): error in "script_valid": Cound not find/open script_valid.json
    test/script_tests.cpp(99): error in "script_invalid": Cound not find/open script_invalid.json
    
    *** 2 failures detected in test suite "Bitcoin Test Suite"
    
  2. gavinandresen commented at 2:09 PM on April 27, 2012: contributor

    Fixed; the makefiles now pass -DTEST_DATA_DIR=... so the test data directory gets compiled in as a fallback place to look.

  3. gavinandresen closed this on Apr 27, 2012

  4. suprnurd referenced this in commit 82ca5fdbb8 on Dec 5, 2017
  5. lateminer referenced this in commit 43e3a8b8f8 on Jan 22, 2019
  6. lateminer referenced this in commit e0c49356ae on Dec 25, 2019
  7. lateminer referenced this in commit fc4ffcf4af on Dec 25, 2019
  8. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me