]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rtla/tests: Run Test::Harness in verbose mode
authorTomas Glozar <tglozar@redhat.com>
Wed, 26 Nov 2025 14:42:03 +0000 (15:42 +0100)
committerTomas Glozar <tglozar@redhat.com>
Wed, 7 Jan 2026 14:57:16 +0000 (15:57 +0100)
Add -v flag to prove command to also print the names of tests that
succeeded, not only those that failed, to allow easier debugging of the
test suite.

Also, drop printing the option and value to stdout in
check_with_osnoise_options, which was a debugging print that was
accidentally left in the final commit, and which would be otherwise now
visible in make check output, as stdout is no longer suppressed.

Suggested-by: Crystal Wood <crwood@redhat.com>
Reviewed-by: Wander Lairson Costa <wander@redhat.com>
Link: https://lore.kernel.org/r/20251126144205.331954-6-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
tools/tracing/rtla/Makefile
tools/tracing/rtla/tests/engine.sh

index aef814b639b74ce598329eb36156ebc4e8433c7a..2701256abaf3b5cba5aba3a1599615442b2147ed 100644 (file)
@@ -110,6 +110,6 @@ clean: doc_clean fixdep-clean
        $(Q)rm -rf feature
        $(Q)rm -f src/timerlat.bpf.o src/timerlat.skel.h example/timerlat_bpf_action.o
 check: $(RTLA) tests/bpf/bpf_action_map.o
-       RTLA=$(RTLA) BPFTOOL=$(SYSTEM_BPFTOOL) prove -o -f tests/
+       RTLA=$(RTLA) BPFTOOL=$(SYSTEM_BPFTOOL) prove -o -f -v tests/
 examples: example/timerlat_bpf_action.o
 .PHONY: FORCE clean check
index c7de3d6ed6a8c0bbfa4343fc91fd838eb2fc0165..ed261e07c6d9f1eb99a951c9431e83a2203e0601 100644 (file)
@@ -105,7 +105,6 @@ check_with_osnoise_options() {
                        [ "$1" == "" ] && continue
                        option=$(echo $1 | cut -d '=' -f 1)
                        value=$(echo $1 | cut -d '=' -f 2)
-                       echo "option: $option, value: $value"
                        echo "$value" > "/sys/kernel/tracing/osnoise/$option" || return 1
                done
        fi