Set $PERL5LIB properly in hydra-init in "make check"

[?]
Mar 12, 2012, 7:56 PM
N3KBVX6GO7IUKPWQCOWCNNMFV6LRDHISTWKJ3QOLDS2XTJEVJI7AC

Dependencies

  • [2] OB7GB5DL Test environment cleanups
  • [3] AMFMXR52 Provide a command ‘hydra-init’ to initialise/upgrade the database
  • [4] WHS5RMPO
  • [5] JRVI4XTV tests: Use $(builddir) instead of `pwd`.
  • [6] PVBTVPKJ nix needs env vars as absolute paths
  • [7] VOBFCHIX use top_srcdir in stead of srcdir
  • [8] WFJ3ZPRM add tests for scm inputs
  • [9] EDDTVGB4 set BZR_HOME env var so bzr won't fail
  • [10] RBZRCTAL hydra: fixed and re-enabled evaluation tests
  • [11] PWU6YAQA add NIX_MANIFESTS_DIR to tests
  • [12] G2ZB6464 first test, not yet in buildprocess
  • [*] V2ALOFRR Fix the test

Change contents

  • edit in tests/Makefile.am at line 1
    [4.92]
    [14.116]
    perl5lib = "$(srcdir):$(top_srcdir)/src/lib:$$PERL5LIB"
  • replacement in tests/Makefile.am at line 15
    [2.24][4.296:354](),[4.190][4.296:354](),[4.296][4.296:354]()
    PERL5LIB="$(srcdir):$(top_srcdir)/src/lib:$$PERL5LIB" \
    [2.24]
    [4.48]
    PERL5LIB=$(perl5lib) \
  • replacement in tests/Makefile.am at line 36
    [4.51][3.4517:4559]()
    perl $(top_srcdir)/src/script/hydra-init
    [4.51]
    [4.0]
    PERL5LIB=$(perl5lib) perl $(top_srcdir)/src/script/hydra-init