[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.4 and 1.5

version 1.4, 2015/10/17 17:57:28 version 1.5, 2017/04/13 00:41:02
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 2015-10-14 23:30:20.000000000 +0000  --- tests/tests.sh.orig 2017-04-13 00:29:45.000000000 +0000
 +++ tests/tests.sh  +++ tests/tests.sh
 @@ -42,7 +42,7 @@ _run()  @@ -114,8 +114,8 @@ failures=
         echo -n "$test:" 1>&2  
         (echo   if $PKGCONFIG --exists python-2.7; then
         echo "Testing: $test" "$@"          tests="$tests python.sh"
 -       LD_LIBRARY_PATH="$OBJDIR../src" "$OBJDIR$test" "$@") 2>&1  -else
 +       env LD_LIBRARY_PATH="$OBJDIR../src" "$OBJDIR$test" "$@") 2>&1  -       failures="$failures python.sh"
         res=$?  +#else
         if [ $res -ne 0 ]; then  +#      failures="$failures python.sh"
                 echo "Test: $test$sep$@: FAIL (error $res)"   fi
 @@ -107,7 +107,7 @@ _test "includes"  
  _test "string"   $DATE > "$target"
  _test "variable"  
  echo "Expected failures:" 1>&2  
 -_fail "python.sh"  
 +#_fail "python.sh"  
  if [ -n "$FAILED" ]; then  
         echo "Failed tests:$FAILED" 1>&2  
         exit 2  

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb <webmaster@jp.NetBSD.org>