minor cleanup to put --enable-all flags in one place

This commit is contained in:
Michael Rash
2013-02-18 19:22:48 -05:00
parent 500a395cb6
commit 934e676053

View File

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