Skip to content

Commit 9f29dad

Browse files
committed
Test config/ package correctly
For directories that have no binary artifacts, it is easier to let "go test" find them, rather than having Makefile there. The previous structure was the reason we didn't run "go test" against config/ package. Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 4f43968 commit 9f29dad

File tree

3 files changed

+2
-66
lines changed

3 files changed

+2
-66
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# express or implied. See the License for the specific language governing
1212
# permissions and limitations under the License.
1313

14-
SUBDIRS:=agent runtime internal examples firecracker-control/cmd/containerd eventbridge
14+
SUBDIRS:=agent runtime examples firecracker-control/cmd/containerd
1515
TEST_SUBDIRS:=$(addprefix test-,$(SUBDIRS))
1616
INTEG_TEST_SUBDIRS:=$(addprefix integ-test-,$(SUBDIRS))
1717

@@ -121,6 +121,7 @@ image: $(RUNC_BIN) agent-in-docker
121121
$(MAKE) -C tools/image-builder all-in-docker
122122

123123
test: $(TEST_SUBDIRS)
124+
go test ./... $(EXTRAGOARGS)
124125

125126
# test-in-docker runs all unit tests inside a docker container. Use "integ-test" to
126127
# run the integ-tests inside containers.

eventbridge/Makefile

Lines changed: 0 additions & 35 deletions
This file was deleted.

internal/Makefile

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)