]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ktest.pl: Always display BUILD_DIR and OUTPUT_DIR at the start of tests
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 18 Jul 2025 20:18:45 +0000 (16:18 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 21 Jul 2025 20:31:04 +0000 (16:31 -0400)
commit23a2d4c64e713b5645e3af8fc9da0931600ba85c
tree1fc92e13b7b7a6cccd8495809cd1c22ba3c4a543
parent61f7e318e99d3b398670518dd3f4f8510d1800fc
ktest.pl: Always display BUILD_DIR and OUTPUT_DIR at the start of tests

As ktest.pl can run in various different directories, to make sure the
test is running in the proper directory with the proper source and proper
destination directory, display the content of BUILD_DIR and OUTPUT_DIR at
the start of every test.

This can be helpful for the test runner to stop the test if a test is
running in the wrong location instead of finding out after the test has
completed.

Cc: "John Warthog9 Hawley" <warthog9@kernel.org>
Cc: Dhaval Giani <dhaval.giani@gmail.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/20250718202053.898022631@kernel.org
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl