lnd.xprv/lntest/itest
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
..
lnd_channel_backup_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_forward_interceptor_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_macaroons_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_max_channel_size_test.go add new max channel size config option 2020-09-14 21:16:32 -05:00
lnd_mpp_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_multi-hop_htlc_local_chain_claim_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_multi-hop_htlc_local_timeout_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_multi-hop_htlc_receiver_chain_claim_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_multi-hop_htlc_remote_chain_claim_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_multi-hop_local_force_close_on_chain_htlc_timeout_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_multi-hop_remote_force_close_on_chain_htlc_timeout_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_multi-hop_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_multi-hop-error-propagation_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_multi-hop-payments_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_network_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_onchain_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_psbt_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_rest_api_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_send_multi_path_payment_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_signer_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_single_hop_invoice_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_test_list_off_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_test_list_on_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
lnd_wumbo_channels_test.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00
log_check_errors.sh itest: add error detection explanation 2020-05-08 13:40:29 +02:00
log_error_whitelist.txt lntest: init SignerClient and test DeriveSharedKey 2020-09-17 14:52:36 +08:00
log_substitutions.txt itest: fix pattern for short_chan_id in err whitelist 2020-08-24 09:53:41 +02:00
test_harness.go lntest: allow the main test files to be buildable w/o the rpctest build tag 2020-09-21 21:16:31 +02:00