diff --git a/build-farm.conf b/build-farm.conf index cfff3c1..71a120a 100644 --- a/build-farm.conf +++ b/build-farm.conf @@ -44,6 +44,7 @@ my $branch; # aux_path => "../..", keep_error_builds => 0, + core_file_glob => "core*", # Linux style, use "*.core" for BSD target => "http://www.pgbuildfarm.org/cgi-bin/pgstatus.pl", upgrade_target => "http://www.pgbuildfarm.org/cgi-bin/upgrade.pl", animal => "CHANGEME", diff --git a/run_build.pl b/run_build.pl index e1c1e96..be167e6 100755 --- a/run_build.pl +++ b/run_build.pl @@ -146,12 +146,12 @@ my ( $aux_path,$trigger_exclude,$trigger_include,$secret, $keep_errs,$force_every, $make, $optional_steps, $use_vpath,$tar_log_cmd, $using_msvc, $extra_config, - $make_jobs + $make_jobs, $core_file_glob ) =@PGBuild::conf{ qw(build_root target animal print_success aux_path trigger_exclude trigger_include secret keep_error_builds force_every make optional_steps - use_vpath tar_log_cmd using_msvc extra_config make_jobs) + use_vpath tar_log_cmd using_msvc extra_config make_jobs core_file_glob) }; #default is no parallel build @@ -1180,7 +1180,7 @@ sub get_stack_trace my $pgdata = shift; # no core = no result - my @cores = glob("$pgdata/core*"); + my @cores = glob("$pgdata/$core_file_glob"); return () unless @cores; # no gdb = no result