From f6aab7bc2a821117b2079f7504ab444dd13f4708 Mon Sep 17 00:00:00 2001
From: Jan-Michael Brummer <jan.brummer@tabos.org>
Date: Tue, 16 May 2023 15:10:53 +0200
Subject: [PATCH] Guard PxManager test with pacrunner-duktape option (#215)

Fixes: https://github.com/libproxy/libproxy/issues/213
---
 tests/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/meson.build b/tests/meson.build
index 4ae8e7d..c8fe11f 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -17,7 +17,7 @@ if get_option('tests')
        env: envs
   )
 
-  if soup_dep.found()
+  if soup_dep.found() and get_option('pacrunner-duktape')
     px_manager_test = executable('test-px-manager',
       ['px-manager-test.c', 'px-manager-helper.c'],
       include_directories: px_backend_inc,
-- 
2.39.3

