1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From 4ec6668252905c5059540f5bad5d907bc3469100 Mon Sep 17 00:00:00 2001
From: Matthias Klumpp <matthias@tenstral.net>
Date: Thu, 18 Sep 2025 22:54:38 +0200
Subject: [PATCH] tests: Allow network test to have all tests skipped
This is needed in environments where we can't run network-dependent
tests, like in package build environments.
---
tests/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/meson.build b/tests/meson.build
index 31167cb..9902c82 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -24,7 +24,7 @@ tests_net = executable(
dependencies: [catch2_dep, asgen_lib_dep],
include_directories: [src_dir],
)
-test('Network', tests_net)
+test('Network', tests_net, args: ['--allow-running-no-tests'])
# Report generator tests
tests_report = executable(
|