forked from lix-project/hydra
Fix tests
This commit is contained in:
parent
582c399420
commit
c40077ece1
|
@ -471,7 +471,8 @@ sub checkBuild {
|
||||||
print STDERR "added build ${\$build->id} (${\$jobset->project->name}:${\$jobset->name}:$jobName)\n";
|
print STDERR "added build ${\$build->id} (${\$jobset->project->name}:${\$jobset->name}:$jobName)\n";
|
||||||
});
|
});
|
||||||
|
|
||||||
system("hydra-notify build-queued " . $build->id) if defined $buildMap->{$build->id} && $buildMap->{$build->id}->{new};
|
system("hydra-notify build-queued " . $build->id)
|
||||||
|
if defined $build && defined $buildMap->{$build->id} && $buildMap->{$build->id}->{new};
|
||||||
return $build;
|
return $build;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ TESTS_ENVIRONMENT = \
|
||||||
NIX_STORE_DIR="$(abs_builddir)/nix/store" \
|
NIX_STORE_DIR="$(abs_builddir)/nix/store" \
|
||||||
NIX_LOG_DIR="$(abs_builddir)/nix/var/log/nix" \
|
NIX_LOG_DIR="$(abs_builddir)/nix/var/log/nix" \
|
||||||
NIX_BUILD_HOOK= \
|
NIX_BUILD_HOOK= \
|
||||||
PERL5LIB="$(srcdir):$(top_srcdir)/src/lib:$$PERL5LIB" \
|
PERL5LIB="$(srcdir):$(abs_top_srcdir)/src/lib:$$PERL5LIB" \
|
||||||
PATH=$(abs_top_srcdir)/src/hydra-evaluator:$(abs_top_srcdir)/src/script:$(abs_top_srcdir)/src/hydra-eval-jobs:$(abs_top_srcdir)/src/hydra-queue-runner:$$PATH \
|
PATH=$(abs_top_srcdir)/src/hydra-evaluator:$(abs_top_srcdir)/src/script:$(abs_top_srcdir)/src/hydra-eval-jobs:$(abs_top_srcdir)/src/hydra-queue-runner:$$PATH \
|
||||||
perl -w
|
perl -w
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue