Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: 754c4fbe0cc528f7d7edd309d40db9aa873c7fe6
      
https://github.com/btcsuite/btcd/commit/754c4fbe0cc528f7d7edd309d40db9aa873c7fe6
  Author: Dave Collins <da...@conformal.com>
  Date:   2016-09-26 (Mon, 26 Sep 2016)

  Changed paths:
    M goclean.sh
    M rpcserver_test.go
    M rpctest/rpc_harness_test.go

  Log Message:
  -----------
  rpctest: Gate rpctest-based behind a build tag.

This adds a new build tag named rpctest which must be set in order for
rpctest-based tests to be executed.  The new build tag is also added to
the goclean.sh script which is executed by Travis during continuous
integration builds.

This change is being made because the rpctest framework requires
additional careful user configuration to ensure the version of btcd
under test can be programmatically launched from the system path with
all of the necessary ports open whereas all of the other tests are
self-contained within the test binary itself.

Since said additional configuration is typically not done, it leads to a
lot of false positives.  Putting the tests behind a build tag allows
them to remain to be available and run during continuous integration
without imposing the additional configuration requirements on users.


Reply via email to