Run PostgreSQL during "make check"
[?]
Jun 25, 2015, 1:51 PM
UQYHPQ6UO7LIQ4P6NSCAEV677K52RQOQKCF4KSGNXMMFOQKY7IPQCDependencies
- [2]
2554VN4TFix ‘Unable to handle files with the extension 'conf'’ - [3]
7VQ4ALFYUpdate "make check" for the new queue runner - [4]
GAZHOBWEBetter fix - [5]
RBQEBVT5Doh - [6]
RBZRCTALhydra: fixed and re-enabled evaluation tests - [7]
G2ZB6464first test, not yet in buildprocess - [8]
3PNG7NIBRemove trailing whitespace - [9]
V2ALOFRRFix the test - [10]
OB7GB5DLTest environment cleanups - [11]
N3KBVX6GSet $PERL5LIB properly in hydra-init in "make check" - [12]
JRVI4XTVtests: Use $(builddir) instead of `pwd`. - [*]
T4LLYESZ* Nix expression for building Hydra. - [*]
6K5PBUUNUse buildEnv to combine Hydra's Perl dependencies
Change contents
- edit in release.nix at line 157[2.102][15.1420]
postgresql92 # for running the tests - replacement in tests/Makefile.am at line 3
HYDRA_DBI="dbi:Pg:dbname=hydra-test-suite;" \HYDRA_DBI="dbi:Pg:dbname=hydra-test-suite;port=6433" \ - replacement in tests/Makefile.am at line 15
PATH=$(abs_top_srcdir)/src/script:$(abs_top_srcdir)/src/hydra-eval-jobs:$$PATH \PATH=$(abs_top_srcdir)/src/script:$(abs_top_srcdir)/src/hydra-eval-jobs:$(abs_top_srcdir)/src/hydra-queue-runner:$$PATH \ - replacement in tests/set-up.pl at line 2
system("createdb hydra-test-suite") == 0 or die;system("initdb -D postgres") == 0 or die;system("pg_ctl -D postgres -o \"-F -p 6433 -h ''\" -w start") == 0 or die;system("createdb -p 6433 hydra-test-suite") == 0 or die; - replacement in tests/tear-down.pl at line 2
system("chmod -R a+w nix") == 0 or die;system("rm -rf data nix git-repo hg-repo svn-repo svn-checkout svn-checkout-repo bzr-repo bzr-checkout-repo darcs-repo") == 0 or die;system("rm -f .*-state") == 0 or die;system("dropdb hydra-test-suite") == 0 or die;[3.2145]my $fail = 0;system("dropdb -p 6433 hydra-test-suite") == 0 or $fail = 1;system("pg_ctl -D postgres -w stop") == 0 or $fail = 1;system("chmod -R a+w nix") == 0 or $fail = 1;system("rm -rf postgres data nix git-repo hg-repo svn-repo svn-checkout svn-checkout-repo bzr-repo bzr-checkout-repo darcs-repo") == 0 or $fail = 1;system("rm -f .*-state") == 0 or $fail = 1;exit $fail;