minor cleanup to put --enable-all flags in one place
authorMichael Rash <mbr@cipherdyne.org>
Tue, 19 Feb 2013 00:22:48 +0000 (19:22 -0500)
committerMichael Rash <mbr@cipherdyne.org>
Tue, 19 Feb 2013 00:22:48 +0000 (19:22 -0500)
test/test-fwknop.pl

index 32c40c1..8085f24 100755 (executable)
@@ -236,8 +236,10 @@ exit 1 unless GetOptions(
 if ($enable_all) {
     $use_valgrind = 1;
     $enable_recompilation_warnings_check = 1;
-    $enable_client_ip_resolve_test = 1;
     $enable_make_distcheck = 1;
+    $enable_client_ip_resolve_test = 1;
+    $enable_perl_module_checks = 1;
+    $enable_openssl_compatibility_tests = 1;
 }
 
 ### create an anonymized tar file of test suite results that can be
@@ -6619,14 +6621,6 @@ sub init() {
     die "[*] Please stop the running fwknopd instance."
         if &is_fwknopd_running();
 
-    if ($enable_all) {
-        $enable_recompilation_warnings_check = 1;
-        $enable_make_distcheck = 1;
-        $enable_client_ip_resolve_test = 1;
-        $enable_perl_module_checks = 1;
-        $enable_openssl_compatibility_tests = 1;
-    }
-
     if ($enable_openssl_compatibility_tests) {
         $openssl_path = &find_command('openssl');
         die "[*] openssl command not found." unless $openssl_path;