lnd/lntest
Olaoluwa Osuntokun c769247198
lntest: allow the main test files to be buildable w/o the rpctest build tag
In this commit, we modify our build tag set up to allow the main test
files to be buildable w/o the current rpctest tag. We do this so that
those of us that use extensions which will compile live files like
vim-go can once again fix compile errors as we go in our editors.

In order to do this, we now make an external `testsCases` variable, and
have two variants: one that's empty (no build tag), and one that's fully
populated with all our tests (build tag active). As a result, the main
file will now always build regardless of if the build tag is active or
not, but we'll only actually execute tests if the `testCases` variable
has been populated.

As sample run w/ the tag off:
```
=== RUN   TestLightningNetworkDaemon
--- PASS: TestLightningNetworkDaemon (0.00s)
PASS
ok  	github.com/lightningnetwork/lnd/lntest/itest	0.051s
```
2020-09-21 21:16:31 +02:00
..
itest lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
mock lnd: delete mock.go, move mockSpendNotifier to lntest/mock 2020-08-31 20:06:11 -04:00
wait lntest+wait: replace sleeps in assertAmountSent 2019-12-18 23:57:12 -08:00
bitcoind.go lntest/bitcoind: set debug loglevel 2019-09-02 09:37:41 +02:00
btcd.go lntest: default to btcd as default test harness backend 2020-09-21 21:16:31 +02:00
doc.go lntest: Add doc.go with package documentation. 2017-12-14 20:06:23 -08:00
fee_service_test.go lntest: use web fee estimator in itests 2020-09-16 08:17:34 +02:00
fee_service.go lntest: use web fee estimator in itests 2020-09-16 08:17:34 +02:00
harness.go lntest: use web fee estimator in itests 2020-09-16 08:17:34 +02:00
neutrino.go lntest: compile time check btcd and neutrino BackendCfg interface 2019-09-02 09:37:37 +02:00
node.go lntest: init SignerClient and test DeriveSharedKey 2020-09-17 14:52:36 +08:00
timeouts_darwin.go itest: increase mempool timeout 2020-05-26 19:49:42 -07:00
timeouts.go itest: increase mempool timeout 2020-05-26 19:49:42 -07:00