summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-07-28 20:18:55 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-07-28 20:18:55 +0000
commitf720f5b380b230ecff125294f5440d87e75f64fa (patch)
treed53e4eff0bcc3eda1493c064eaa722213086b08d /sci-mathematics/yacas/files
parent[kde-base/marble] Fix bug #367571 (diff)
downloadgentoo-2-f720f5b380b230ecff125294f5440d87e75f64fa.tar.gz
gentoo-2-f720f5b380b230ecff125294f5440d87e75f64fa.tar.bz2
gentoo-2-f720f5b380b230ecff125294f5440d87e75f64fa.zip
Fixed tests (bug #361583)
(Portage version: 2.1.10.7/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/yacas/files')
-rw-r--r--sci-mathematics/yacas/files/yacas-1.2.2-tests.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-mathematics/yacas/files/yacas-1.2.2-tests.patch b/sci-mathematics/yacas/files/yacas-1.2.2-tests.patch
new file mode 100644
index 000000000000..3d5f6dc65c3f
--- /dev/null
+++ b/sci-mathematics/yacas/files/yacas-1.2.2-tests.patch
@@ -0,0 +1,31 @@
+diff -Nur yacas-1.2.2.orig/tests/includetestfiles yacas-1.2.2/tests/includetestfiles
+--- yacas-1.2.2.orig/tests/includetestfiles 2011-07-28 20:44:18.000000000 +0100
++++ yacas-1.2.2/tests/includetestfiles 2011-07-28 20:59:03.000000000 +0100
+@@ -1,11 +1,11 @@
+-
++FAILURES_TESTFILES = calculus.yts complex.yts regress.yts
+ NORMAL_TESTFILES = \
+- openmath.yts macro.yts arithmetic.yts c_tex_form.yts calculus.yts canprove.yts \
+- comments.yts complex.yts deriv.yts dimensions.yts dot.yts journal.yts \
++ openmath.yts macro.yts arithmetic.yts c_tex_form.yts canprove.yts \
++ comments.yts deriv.yts dimensions.yts dot.yts journal.yts \
+ integrate.yts lists.yts logic_simplify_test.yts matrixpower.yts \
+ nthroot.yts outer.yts predicates.yts ode.yts \
+ tensors.yts trace.yts tr.yts multivar.yts numbers.yts io.yts \
+- programming.yts regress.yts simplify.yts solve.yts sums.yts \
++ programming.yts simplify.yts solve.yts sums.yts \
+ transforms.yts radsimp.yts linalg.yts orthopoly.yts poly.yts numerics.yts \
+ scopestack.yts plots.yts GaussianIntegers.yts nummethods.yts sturm.yts \
+ cyclotomic.yts binaryfactors.yts
+diff -Nur yacas-1.2.2.orig/tests/test-yacas yacas-1.2.2/tests/test-yacas
+--- yacas-1.2.2.orig/tests/test-yacas 2011-07-28 20:44:18.000000000 +0100
++++ yacas-1.2.2/tests/test-yacas 2011-07-28 20:44:47.000000000 +0100
+@@ -69,7 +69,7 @@
+ # fi
+ echo "Running $scr"
+ if [ -f $TESTFILE ]; then rm $TESTFILE ; fi
+- /bin/sh -c "time -p ($CMD $f || echo \"Error: exit status $?\") | tee $TESTFILE" \
++ /bin/sh -c "time -p $($CMD $f || echo \"Error: exit status $?\") | tee $TESTFILE" \
+ 2> $TIMEFILE \
+ || (echo "Error -- User interrupt" > $TESTFILE)
+ # cat $TIMEFILE