mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-17 20:44:20 +01:00
To make the code directory structure more clear:
└── src
├── agent
├── libs
│ └── logging
├── runtime
├── runtime-rs (to be added)
└── tools
├── agent-ctl
└── trace-forwarder
Fixes: #3204
Signed-off-by: Peng Tao <bergwolf@hyper.sh>
19 lines
539 B
Makefile
19 lines
539 B
Makefile
# Copyright (c) 2021 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# It is not necessary to have a build target as this crate is built
|
|
# automatically by the consumers of it.
|
|
#
|
|
# However, it is essential that the crate be tested.
|
|
default: test
|
|
|
|
# It is essential to run these tests using *both* build profiles.
|
|
# See the `test_logger_levels()` test for further information.
|
|
test:
|
|
@echo "INFO: testing log levels for development build"
|
|
@cargo test
|
|
@echo "INFO: testing log levels for release build"
|
|
@cargo test --release
|