зеркало из https://github.com/mozilla/gecko-dev.git
Removing hardcoded test for TestGtkEmbed as not all of our platforms build TestGtkEmbed by default
This commit is contained in:
Родитель
887bb1adfe
Коммит
600ed88945
|
@ -18,7 +18,7 @@ use POSIX qw(sys_wait_h strftime);
|
|||
use Cwd;
|
||||
use File::Basename; # for basename();
|
||||
use Config; # for $Config{sig_name} and $Config{sig_num}
|
||||
$::UtilsVersion = '$Revision: 1.58 $ ';
|
||||
$::UtilsVersion = '$Revision: 1.59 $ ';
|
||||
|
||||
package TinderUtils;
|
||||
|
||||
|
@ -654,7 +654,8 @@ sub BuildIt {
|
|||
$build_status = 'success';
|
||||
}
|
||||
|
||||
# TestGtkEmbed built by default, report if not found.
|
||||
# TestGtkEmbed is only built by default on certain platforms.
|
||||
if (($Settings::EmbedTest or $Settings::BuildEmbed)) {
|
||||
if (not BinaryExists($full_embed_binary_name)) {
|
||||
print_log "Error: binary not found: $Settings::EmbedBinaryName\n";
|
||||
$build_status = 'busted';
|
||||
|
@ -662,6 +663,7 @@ sub BuildIt {
|
|||
$build_status = 'success';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($build_status ne 'busted' and BinaryExists($full_binary_name)) {
|
||||
print_log "$binary_basename binary exists, build successful.\n";
|
||||
|
|
Загрузка…
Ссылка в новой задаче