summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2023-08-06 12:58:52 +0200
committerWilly Tarreau <w@1wt.eu>2023-08-23 05:17:57 +0200
commitca283457b3c675e5ab6762a750b1b9c495864993 (patch)
tree2c91cc52dd7411842728643a879d572f9e6b6e89 /scripts/generate_rust_analyzer.py
parent202a0bd12f877497eb73a42b22cf2562fb255963 (diff)
selftests/nolibc: avoid warnings during intptr tests
Recent fix ceb528feb7c8 ("selftests/nolibc: avoid gaps in test numbers") had the annoying side effect of always returning skipped tests, which are normally supposed to happen only when certain features are missing to run the test (missing kernel options, toolchain not supporting stack-protector etc). As such there are now always warnings. Let's modify the test to not use the condition and instead use a ternary expression to check the result. Fixes: ceb528feb7c8 ("selftests/nolibc: avoid gaps in test numbers") Cc: Thomas Weiƃ<9F>schuh <linux@weissschuh.net> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions