[BACK]Return to patch-tests_tests.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / deforaos-libsystem / patches

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/devel/deforaos-libsystem/patches/patch-tests_tests.sh between version 1.2 and 1.3

version 1.2, 2014/09/23 12:06:49 version 1.3, 2015/05/20 23:08:37
Line 3  $NetBSD$
Line 3  $NetBSD$
 Avoid building the (experimental) Python binding.  Avoid building the (experimental) Python binding.
 Use LD_LIBRARY_PATH to find pre-installed libraries.  Use LD_LIBRARY_PATH to find pre-installed libraries.
   
 --- tests/tests.sh.orig 2014-08-29 19:23:48.000000000 +0000  --- tests/tests.sh.orig 2015-05-10 22:00:47.000000000 +0000
 +++ tests/tests.sh  +++ tests/tests.sh
 @@ -50,7 +50,7 @@  @@ -42,7 +42,7 @@ _run()
         echo -n "$test:" 1>&2          echo -n "$test:" 1>&2
         (echo          (echo
         echo "Testing: ./$test" "$@"          echo "Testing: $test" "$@"
 -       "./$test" "$@") >> "$target" 2>&1  -       "$OBJDIR$test" "$@") 2>&1
 +       env LD_LIBRARY_PATH=../src "./$test" "$@") >> "$target" 2>&1  +       env LD_LIBRARY_PATH="../src" "$OBJDIR$test" "$@") 2>&1
         res=$?          res=$?
         if [ $res -ne 0 ]; then          if [ $res -ne 0 ]; then
                 echo " FAIL" 1>&2                  echo "Test: $test$sep$@: FAIL (error $res)"
 @@ -103,7 +103,7 @@ _test "includes"  @@ -105,7 +105,7 @@ _test "includes"
  _test "string"   _test "string"
  _test "variable"   _test "variable"
  echo "Expected failures:" 1>&2   echo "Expected failures:" 1>&2

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>