You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/yajl/files/yajl-fix_tests.patch

16 lines
696 B

diff -urN lloyd-yajl-9c15d72.old/test/run_tests.sh lloyd-yajl-9c15d72//test/run_tests.sh
--- lloyd-yajl-9c15d72.old/test/run_tests.sh 2010-04-04 23:59:51.000000000 +0200
+++ lloyd-yajl-9c15d72//test/run_tests.sh 2010-04-05 00:00:26.000000000 +0200
@@ -8,9 +8,9 @@
# find test binary on both platforms. allow the caller to force a
# particular test binary (useful for non-cmake build systems).
if [ -z "$testBin" ]; then
- testBin="../build/test/Debug/yajl_test.exe"
+ testBin="./yajl_test.exe"
if [[ ! -x $testBin ]] ; then
- testBin="../build/test/yajl_test"
+ testBin="./yajl_test"
if [[ ! -x $testBin ]] ; then
echo "cannot execute test binary: '$testBin'"
exit 1;