From 911c62fb322da8f5f6225dbe6404c47546d205b7 Mon Sep 17 00:00:00 2001 From: Jakub Matys Date: Thu, 4 Oct 2018 10:40:25 +0200 Subject: [PATCH] Integration tests are tagged for conditional compilation --- tests/doc.go | 2 ++ tests/integration.go | 2 ++ tests/rpc/doc.go | 2 ++ tests/rpc/rpc.go | 2 ++ tests/sync/connectblocks.go | 2 ++ tests/sync/doc.go | 2 ++ tests/sync/fakechain.go | 2 ++ tests/sync/handlefork.go | 2 ++ tests/sync/sync.go | 2 ++ 9 files changed, 18 insertions(+) create mode 100644 tests/doc.go create mode 100644 tests/rpc/doc.go create mode 100644 tests/sync/doc.go diff --git a/tests/doc.go b/tests/doc.go new file mode 100644 index 00000000..12f5c534 --- /dev/null +++ b/tests/doc.go @@ -0,0 +1,2 @@ +// Package tests provides functions for loading and running integration tests +package tests diff --git a/tests/integration.go b/tests/integration.go index 990a6064..225a5736 100644 --- a/tests/integration.go +++ b/tests/integration.go @@ -1,3 +1,5 @@ +// +build integration + package tests import ( diff --git a/tests/rpc/doc.go b/tests/rpc/doc.go new file mode 100644 index 00000000..4d4eb2d9 --- /dev/null +++ b/tests/rpc/doc.go @@ -0,0 +1,2 @@ +// Package rpc implements integration tests of blockchain RPC layer +package rpc diff --git a/tests/rpc/rpc.go b/tests/rpc/rpc.go index ecca3b74..2d97329d 100644 --- a/tests/rpc/rpc.go +++ b/tests/rpc/rpc.go @@ -1,3 +1,5 @@ +// +build integration + package rpc import ( diff --git a/tests/sync/connectblocks.go b/tests/sync/connectblocks.go index af4a0590..c86faa29 100644 --- a/tests/sync/connectblocks.go +++ b/tests/sync/connectblocks.go @@ -1,3 +1,5 @@ +// +build integration + package sync import ( diff --git a/tests/sync/doc.go b/tests/sync/doc.go new file mode 100644 index 00000000..93a95c82 --- /dev/null +++ b/tests/sync/doc.go @@ -0,0 +1,2 @@ +// Package sync implements integration tests of synchronization code +package sync diff --git a/tests/sync/fakechain.go b/tests/sync/fakechain.go index 2000e39d..67635cfb 100644 --- a/tests/sync/fakechain.go +++ b/tests/sync/fakechain.go @@ -1,3 +1,5 @@ +// +build integration + package sync import ( diff --git a/tests/sync/handlefork.go b/tests/sync/handlefork.go index 759cdcf7..f30ede09 100644 --- a/tests/sync/handlefork.go +++ b/tests/sync/handlefork.go @@ -1,3 +1,5 @@ +// +build integration + package sync import ( diff --git a/tests/sync/sync.go b/tests/sync/sync.go index 56f0cf38..e943a11f 100644 --- a/tests/sync/sync.go +++ b/tests/sync/sync.go @@ -1,3 +1,5 @@ +// +build integration + package sync import (