Browse Source

only run malicious tests if malicious features are enabled

Christian Grothoff 5 years ago
parent
commit
a045962087
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/rps/Makefile.am

+ 4 - 1
src/rps/Makefile.am

@@ -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 \