Fix Perl error in tests.api
[?]
Jun 15, 2015, 9:47 AM
5QYMALGUFECBH44BDVLFRZR5CQ24UTSEELVMAGDNKY2JAKBZKQ3ACDependencies
- [2]
WQ2VQ7H3Use hydra-module.nix in the tests - [3]
KYSBJAYNAllow dashes in jobset input names - [4]
YI3BZG5NCleanup Jobset serialization - [5]
MQYHIUEECleanup eval serialization - [6]
LZVO64YGMerge in the first bits of the API work - [7]
4VYSDP4IAdd eager fetching of relations and enable that for jobset->jobsetinputs - [*]
T4LLYESZ* Nix expression for building Hydra.
Change contents
- replacement in release.nix at line 200
( "su hydra -c \"hydra-create-user root --email-address 'e.dolstra\@tudelft.nl' --password foobar --role admin\""( "su - hydra -c \"hydra-create-user root --email-address 'alice\@example.org' --password foobar --role admin\"" - replacement in release.nix at line 210
$machine->mustSucceed("su hydra -c 'NIX_STORE_DIR=/tmp/nix/store NIX_LOG_DIR=/tmp/nix/var/log/nix NIX_STATE_DIR=/tmp/nix/var/nix DBIC_TRACE=1 hydra-server -d' >&2 &");$machine->mustSucceed("su - hydra -c 'NIX_STORE_DIR=/tmp/nix/store NIX_LOG_DIR=/tmp/nix/var/log/nix NIX_STATE_DIR=/tmp/nix/var/nix NIX_REMOTE= DBIC_TRACE=1 hydra-server -d' >&2 &"); - replacement in release.nix at line 214
$machine->mustSucceed("su hydra -c 'perl ${./tests/api-test.pl}' >&2");$machine->mustSucceed("su - hydra -c 'perl ${./tests/api-test.pl}' >&2"); - replacement in tests/api-test.pl at line 52
system("NIX_STORE_DIR=/tmp/nix/store NIX_LOG_DIR=/tmp/nix/var/log/nix NIX_STATE_DIR=/tmp/nix/var/nix hydra-evaluator sample default");system("NIX_STORE_DIR=/tmp/nix/store NIX_LOG_DIR=/tmp/nix/var/log/nix NIX_STATE_DIR=/tmp/nix/var/nix NIX_REMOTE= hydra-evaluator sample default");