summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-03-30 15:36:56 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-04-04 19:31:22 +0200
commitab1a0a06dd80c2b7afbe0ba3dd48cf6eb454c1eb (patch)
tree066ac7a05450f9c4d2d48815866f253cf4f6c85d /test
parent0b977a243aa308f4530fe8b53e634d369feccb47 (diff)
downloadjustbuild-ab1a0a06dd80c2b7afbe0ba3dd48cf6eb454c1eb.tar.gz
Add a new log level for progress updates
Diffstat (limited to 'test')
-rwxr-xr-xtest/end-to-end/actions/action-equality.sh2
-rw-r--r--test/utils/logging/log_config.hpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/end-to-end/actions/action-equality.sh b/test/end-to-end/actions/action-equality.sh
index 72762f30..ffe841f4 100755
--- a/test/end-to-end/actions/action-equality.sh
+++ b/test/end-to-end/actions/action-equality.sh
@@ -46,7 +46,7 @@ cat > TARGETS <<'EOI'
EOI
-bin/tool-under-test build -J 1 --local_build_root .tool-root -f build.log 2>&1
+bin/tool-under-test build -J 1 --local_build_root .tool-root -f build.log --log-limit 2 2>&1
cat build.log
echo
grep 'Processed.* 4 actions' build.log
diff --git a/test/utils/logging/log_config.hpp b/test/utils/logging/log_config.hpp
index 9f243d83..8c9c6388 100644
--- a/test/utils/logging/log_config.hpp
+++ b/test/utils/logging/log_config.hpp
@@ -25,6 +25,7 @@ static auto ReadLogLevelFromEnv() -> LogLevel {
case LogLevel::Error:
case LogLevel::Warning:
case LogLevel::Info:
+ case LogLevel::Progress:
case LogLevel::Debug:
case LogLevel::Trace:
return log_level;