diff options
Diffstat (limited to '')
-rw-r--r-- | tests/health_mgmtapi/README.md | 2 | ||||
-rwxr-xr-x | tests/run-unit-tests.sh | 18 |
2 files changed, 4 insertions, 16 deletions
diff --git a/tests/health_mgmtapi/README.md b/tests/health_mgmtapi/README.md index 65b4372ce..c56ecfe6e 100644 --- a/tests/health_mgmtapi/README.md +++ b/tests/health_mgmtapi/README.md @@ -9,7 +9,7 @@ learn_rel_path: "Developers" # Health command API tester -The directory `tests/health_cmdapi` contains the test script `health-cmdapi-test.sh` for the [health command API](https://github.com/netdata/netdata/blob/master/src/web/api/health/README.md). +The directory `tests/health_cmdapi` contains the test script `health-cmdapi-test.sh` for the [health command API](/src/web/api/health/README.md). The script can be executed with options to prepare the system for the tests, run them and restore the system to its previous state. diff --git a/tests/run-unit-tests.sh b/tests/run-unit-tests.sh index f819f1bc9..2527264df 100755 --- a/tests/run-unit-tests.sh +++ b/tests/run-unit-tests.sh @@ -1,18 +1,7 @@ #!/usr/bin/env bash # -# Unit-testing script -# -# This script does the following: -# 1. Check whether any files were modified that would necessitate unit testing (using the `TRAVIS_COMMIT_RANGE` environment variable). -# 2. If there are no changed files that require unit testing, exit successfully. -# 3. Otherwise, run all the unit tests. -# -# We do things this way because our unit testing takes a rather long -# time (average 18-19 minutes as of the original creation of this script), -# so skipping it when we don't actually need it can significantly speed -# up the CI process. -# -# Copyright: SPDX-License-Identifier: GPL-3.0-or-later +# Copyright: 2020-2024 (c) Netdata Inc. +# SPDX-License-Identifier: GPL-3.0-or-later # # Author: Austin S. Hemmelgarn <austin@netdata.cloud> # @@ -26,8 +15,7 @@ install_netdata() { --install-prefix "$HOME" \ --dont-wait \ --dont-start-it \ - --disable-lto \ - --enable-logsmanagement-tests + --disable-lto } c_unit_tests() { |