talloc: Use libraries from build dir for testsuite
authorLukas Slebodnik <lslebodn@redhat.com>
Mon, 3 Jul 2017 14:09:34 +0000 (16:09 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 4 Jul 2017 19:39:21 +0000 (21:39 +0200)
commit4ad58497e5baa50b25eaeeff1386fc154dfc5399
tree66be547aa4d896b33940133759009237161ec429
parente317dfeccf191d849656dde2238e477fb5e666d7
talloc: Use libraries from build dir for testsuite

There was a failure when tests were executed after after extracting
talloc tarball.

  sh$ make -j8 check
  WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$PATH waf test
  bin/talloc_testsuite: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory
  sh: ./lib/talloc/test_magic_differs.sh: No such file or directory
  Traceback (most recent call last):
    File "test_pytalloc.py", line 11, in <module>
      import talloc
  ImportError: libtalloc.so.2: cannot open shared object file: No such file or directory

Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/talloc/wscript