Logo
Explore Privacy Policy Terms of Service Help
Sign In
ahuston-0/hydra
1
0
Fork 0
You've already forked hydra
Code Issues Pull Requests1 Packages Projects Releases Wiki Activity
15a45f1a8a
BranchesTags
View all branches
hydra/tests/set-up.pl

6 lines
229 B
Perl
Raw Normal View History

Update "make check" for the new queue runner Also, if the machines file contains an entry for localhost, then run "nix-store --serve" directly, without going through SSH.
2015-06-25 15:29:22 +02:00
use strict;
Run PostgreSQL during "make check"
2015-06-25 15:51:44 +02:00
system("initdb -D postgres") == 0 or die;
tests: change postgresql socket dir to /tmp In https://github.com/NixOS/nixpkgs/pull/57677 default postgresql socket directory was changed to `/run/postgresql`, which doesn't exist (and can't be created) in Nix build environment. We'll use /tmp as socket dir explicitly then. Fixes build failure https://hydra.nixos.org/build/91221682 Cc @aszlig @edolstra
2019-03-29 23:46:38 +02:00
system("pg_ctl -D postgres -o \"-F -p 6433 -h '' -k /tmp \" -w start") == 0 or die;
Run PostgreSQL during "make check"
2015-06-25 15:51:44 +02:00
system("createdb -p 6433 hydra-test-suite") == 0 or die;
Update "make check" for the new queue runner Also, if the machines file contains an entry for localhost, then run "nix-store --serve" directly, without going through SSH.
2015-06-25 15:29:22 +02:00
system("hydra-init") == 0 or die;
Reference in New Issue Copy Permalink
Powered by Gitea Page: 50ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API