From: Florian Fischer <[email protected]>
To: [email protected]
Cc: Florian Schmaus <[email protected]>,
Florian Fischer <[email protected]>
Subject: [PATCH liburing 7/9] meson: add 'raw' test suite
Date: Wed, 27 Jul 2022 17:27:21 +0200 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
The 'raw' test suite runs each compiled test without the runtest*.sh
wrapper scripts.
This is useful to debug tests using meson's gdb support.
To debug a test in gdb run `meson test -C build --suite=raw <testname>_raw`
Signed-off-by: Florian Fischer <[email protected]>
---
test/meson.build | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/test/meson.build b/test/meson.build
index 1537ad9..088b5fa 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -166,15 +166,15 @@ foreach test_source: all_tests
# using the meson filesystem module would solve this restriction
# but require to bump our minimum meson version to '>= 0.54'.
test_name = test_source.split()[0]
- executable(test_name,
- [test_source, 'helpers.c'],
- c_args: xcflags,
- cpp_args: xcflags,
- include_directories: liburing_internal_includes,
- link_with: liburing.get_static_lib(),
- dependencies: test_dependencies,
- install: true,
- install_dir: get_option('datadir') / 'liburing-test')
+ test_exe = executable(test_name,
+ [test_source, 'helpers.c'],
+ c_args: xcflags,
+ cpp_args: xcflags,
+ include_directories: liburing_internal_includes,
+ link_with: liburing.get_static_lib(),
+ dependencies: test_dependencies,
+ install: true,
+ install_dir: get_option('datadir') / 'liburing-test')
test(test_name,
runtests_sh,
@@ -195,6 +195,10 @@ foreach test_source: all_tests
args: test_name,
workdir: meson.current_build_dir(),
suite: 'parallel')
+
+ test(test_name + '_raw',
+ test_exe,
+ suite: 'raw')
endforeach
if meson.version().version_compare('>=0.57')
--
2.37.1
next prev parent reply other threads:[~2022-07-27 15:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-27 15:27 [PATCH liburing] add additional meson build system support Florian Fischer
2022-07-27 15:27 ` [PATCH liburing 1/9] add Meson build system Florian Fischer
2022-07-27 15:27 ` [PATCH liburing 2/9] meson: update meson build files for liburing 2.3 Florian Fischer
2022-07-27 15:27 ` [PATCH liburing 3/9] meson: update available tests to " Florian Fischer
2022-07-27 15:27 ` [PATCH liburing 4/9] meson: update installed manpages " Florian Fischer
2022-07-27 15:27 ` [PATCH liburing 5/9] meson: add default test setup running each test once Florian Fischer
2022-07-27 15:27 ` [PATCH liburing 6/9] meson: support building without libc Florian Fischer
2022-07-27 15:27 ` Florian Fischer [this message]
2022-07-27 15:27 ` [PATCH liburing 8/9] github bot: add jobs for meson Florian Fischer
2022-07-27 15:27 ` [PATCH liburing 9/9] meson: update available examples to liburing 2.3 Florian Fischer
2022-07-27 19:21 ` [PATCH liburing] add additional meson build system support Bart Van Assche
2022-07-27 20:53 ` Florian Fischer
2022-07-29 7:47 ` Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220727152723.3320169-8-florian.fischer@muhq.space \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox