[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260119105857.797498-1-costa.shul@redhat.com>
Date: Mon, 19 Jan 2026 12:58:55 +0200
From: Costa Shulyupin <costa.shul@...hat.com>
To: Steven Rostedt <rostedt@...dmis.org>,
Tomas Glozar <tglozar@...hat.com>,
Ian Rogers <irogers@...gle.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Alexandre Chartre <alexandre.chartre@...cle.com>,
Costa Shulyupin <costa.shul@...hat.com>,
Blake Jones <blakejones@...gle.com>,
Yuzhuo Jing <yuzhuo@...gle.com>,
Leo Yan <leo.yan@....com>,
linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] tools/rtla: Add unit tests
v2: Address feedback from Tomas Glozar
- Split the patch.
- Extract separate target unit-tests.
- Use build system
- Add libcheck to tools/build dependency detection
Costa Shulyupin (2):
tools/build: Add feature test for libcheck
tools/rtla: Add unit tests for utils.c
tools/build/Makefile.feature | 3 +
tools/build/feature/Makefile | 4 +
tools/build/feature/test-libcheck.c | 8 ++
tools/tracing/rtla/Build | 1 +
tools/tracing/rtla/Makefile | 5 +
tools/tracing/rtla/Makefile.config | 8 ++
tools/tracing/rtla/README.txt | 1 +
tools/tracing/rtla/tests/unit/Build | 2 +
tools/tracing/rtla/tests/unit/Makefile.unit | 17 +++
tools/tracing/rtla/tests/unit/unit_tests.c | 123 ++++++++++++++++++++
10 files changed, 172 insertions(+)
create mode 100644 tools/build/feature/test-libcheck.c
create mode 100644 tools/tracing/rtla/tests/unit/Build
create mode 100644 tools/tracing/rtla/tests/unit/Makefile.unit
create mode 100644 tools/tracing/rtla/tests/unit/unit_tests.c
--
2.52.0
Powered by blists - more mailing lists