only run malicious tests if malicious features are enabled v0.11.1
authorChristian Grothoff <christian@grothoff.org>
Wed, 3 Apr 2019 13:49:30 +0000 (15:49 +0200)
committerChristian Grothoff <christian@grothoff.org>
Wed, 3 Apr 2019 13:49:30 +0000 (15:49 +0200)
src/rps/Makefile.am

index b391eb8aefed8be8d48bd5163131a38fff270292..1fffe6be0031f8367e834fc976853ed35e278f49 100644 (file)
@@ -87,11 +87,14 @@ check_PROGRAMS = \
  test_rps_sub \
  test_rps_seed_request \
  test_rps_seed_big \
- test_rps_churn \
+ test_rps_churn
+if ENABLE_MALICIOUS
+check_PROGRAMS += \
  test_rps_malicious_1 \
  test_rps_malicious_2 \
  test_rps_malicious_3
 endif
+endif
 
 rps_test_src = \
        test_rps.c \