Annotation of pkgsrc/devel/deforaos-libsystem/patches/patch-tests_tests.sh, Revision 1.4
1.4 ! khorben 1: $NetBSD: patch-tests_tests.sh,v 1.3 2015/05/20 23:08:37 khorben Exp $
1.1 khorben 2:
3: Avoid building the (experimental) Python binding.
1.2 jperkin 4: Use LD_LIBRARY_PATH to find pre-installed libraries.
1.1 khorben 5:
1.4 ! khorben 6: --- tests/tests.sh.orig 2015-10-14 23:30:20.000000000 +0000
1.1 khorben 7: +++ tests/tests.sh
1.3 khorben 8: @@ -42,7 +42,7 @@ _run()
1.2 jperkin 9: echo -n "$test:" 1>&2
10: (echo
1.3 khorben 11: echo "Testing: $test" "$@"
1.4 ! khorben 12: - LD_LIBRARY_PATH="$OBJDIR../src" "$OBJDIR$test" "$@") 2>&1
! 13: + env LD_LIBRARY_PATH="$OBJDIR../src" "$OBJDIR$test" "$@") 2>&1
1.2 jperkin 14: res=$?
15: if [ $res -ne 0 ]; then
1.3 khorben 16: echo "Test: $test$sep$@: FAIL (error $res)"
1.4 ! khorben 17: @@ -107,7 +107,7 @@ _test "includes"
1.1 khorben 18: _test "string"
19: _test "variable"
20: echo "Expected failures:" 1>&2
21: -_fail "python.sh"
22: +#_fail "python.sh"
23: if [ -n "$FAILED" ]; then
24: echo "Failed tests:$FAILED" 1>&2
25: exit 2
CVSweb <webmaster@jp.NetBSD.org>