Test environment cleanups

[?]
Dec 4, 2011, 9:50 PM
OB7GB5DLJ3NCVUELTTNPBNGIT757BIYQ452WKNOCNLY3SAI4HHAQC

Dependencies

  • [2] PCMXCIOW fix assignment in evalSucceeds (always returned 3, therefore evalSucceeds always succeeded
  • [3] HX4QYOYA add first evaluations tests
  • [4] V2ALOFRR Fix the test
  • [5] PVBTVPKJ nix needs env vars as absolute paths
  • [6] WFJ3ZPRM add tests for scm inputs
  • [7] OSZDLGMP add target to make simple git/hg/svn inputs
  • [8] I3TU2UJQ
  • [9] DCHQR576 add bzr-repo target
  • [10] SBKX3YH2 cleanup
  • [*] G2ZB6464 first test, not yet in buildprocess
  • [*] JRVI4XTV tests: Use $(builddir) instead of `pwd`.

Change contents

  • edit in tests/Makefile.am at line 12
    [3.190]
    [13.296]
    NIX_BUILD_HOOK= \
  • replacement in tests/Makefile.am at line 28
    [3.437][3.437:455]()
    chmod -R a+w nix
    [3.437]
    [3.46]
    chmod -R a+w nix || true
  • replacement in tests/Makefile.am at line 55
    [3.245][3.245:312]()
    (cd hg-repo; hg add hg-file ; hg commit -m "add hg file" hg-file)
    [3.245]
    [3.312]
    (cd hg-repo; hg add hg-file ; hg commit -m "add hg file" hg-file -u foobar)
  • replacement in tests/Setup.pm at line 62
    [3.1213][2.0:113]()
    my ($res) = captureStdoutStderr(60, ("../src/script/hydra-evaluator", $jobset->project->name, $jobset->name));
    [3.1213]
    [3.1327]
    my ($res, $stdout, $stderr) = captureStdoutStderr(60, ("../src/script/hydra-evaluator", $jobset->project->name, $jobset->name));
    chomp $stdout; chomp $stderr;
  • edit in tests/Setup.pm at line 65
    [3.1467]
    [3.1467]
    print STDERR "STDOUT: $stdout\n" if $stdout ne "";
    print STDERR "STDERR: $stderr\n" if $stderr ne "";