mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-19 20:15:18 +02:00
multi: add new build tag integration
This commit adds a new build tag `integration` and removes the old tag `rpctest` for clarity. Multiple unnecessary usages of `build !rpctest` is also removed.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//go:build !rpctest
|
||||
// +build !rpctest
|
||||
//go:build !integration
|
||||
|
||||
package itest
|
||||
|
||||
|
@@ -1,5 +1,4 @@
|
||||
//go:build rpctest
|
||||
// +build rpctest
|
||||
//go:build integration
|
||||
|
||||
package itest
|
||||
|
||||
|
@@ -1,6 +1,3 @@
|
||||
//go:build rpctest
|
||||
// +build rpctest
|
||||
|
||||
package itest
|
||||
|
||||
import (
|
||||
|
@@ -57,7 +57,7 @@ var (
|
||||
func TestLightningNetworkDaemon(t *testing.T) {
|
||||
// If no tests are registered, then we can exit early.
|
||||
if len(allTestCases) == 0 {
|
||||
t.Skip("integration tests not selected with flag 'rpctest'")
|
||||
t.Skip("integration tests not selected with flag 'integration'")
|
||||
}
|
||||
|
||||
// Get the test cases to be run in this tranche.
|
||||
|
Reference in New Issue
Block a user