Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/yacas/files: yacas-1.2.2-tests.patch
Date: Thu, 28 Jul 2011 20:19:20
Message-Id: 20110728201855.4DFE920051@flycatcher.gentoo.org
1 bicatali 11/07/28 20:18:55
2
3 Added: yacas-1.2.2-tests.patch
4 Log:
5 Fixed tests (bug #361583)
6
7 (Portage version: 2.1.10.7/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-mathematics/yacas/files/yacas-1.2.2-tests.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/files/yacas-1.2.2-tests.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/yacas/files/yacas-1.2.2-tests.patch?rev=1.1&content-type=text/plain
14
15 Index: yacas-1.2.2-tests.patch
16 ===================================================================
17 diff -Nur yacas-1.2.2.orig/tests/includetestfiles yacas-1.2.2/tests/includetestfiles
18 --- yacas-1.2.2.orig/tests/includetestfiles 2011-07-28 20:44:18.000000000 +0100
19 +++ yacas-1.2.2/tests/includetestfiles 2011-07-28 20:59:03.000000000 +0100
20 @@ -1,11 +1,11 @@
21 -
22 +FAILURES_TESTFILES = calculus.yts complex.yts regress.yts
23 NORMAL_TESTFILES = \
24 - openmath.yts macro.yts arithmetic.yts c_tex_form.yts calculus.yts canprove.yts \
25 - comments.yts complex.yts deriv.yts dimensions.yts dot.yts journal.yts \
26 + openmath.yts macro.yts arithmetic.yts c_tex_form.yts canprove.yts \
27 + comments.yts deriv.yts dimensions.yts dot.yts journal.yts \
28 integrate.yts lists.yts logic_simplify_test.yts matrixpower.yts \
29 nthroot.yts outer.yts predicates.yts ode.yts \
30 tensors.yts trace.yts tr.yts multivar.yts numbers.yts io.yts \
31 - programming.yts regress.yts simplify.yts solve.yts sums.yts \
32 + programming.yts simplify.yts solve.yts sums.yts \
33 transforms.yts radsimp.yts linalg.yts orthopoly.yts poly.yts numerics.yts \
34 scopestack.yts plots.yts GaussianIntegers.yts nummethods.yts sturm.yts \
35 cyclotomic.yts binaryfactors.yts
36 diff -Nur yacas-1.2.2.orig/tests/test-yacas yacas-1.2.2/tests/test-yacas
37 --- yacas-1.2.2.orig/tests/test-yacas 2011-07-28 20:44:18.000000000 +0100
38 +++ yacas-1.2.2/tests/test-yacas 2011-07-28 20:44:47.000000000 +0100
39 @@ -69,7 +69,7 @@
40 # fi
41 echo "Running $scr"
42 if [ -f $TESTFILE ]; then rm $TESTFILE ; fi
43 - /bin/sh -c "time -p ($CMD $f || echo \"Error: exit status $?\") | tee $TESTFILE" \
44 + /bin/sh -c "time -p $($CMD $f || echo \"Error: exit status $?\") | tee $TESTFILE" \
45 2> $TIMEFILE \
46 || (echo "Error -- User interrupt" > $TESTFILE)
47 # cat $TIMEFILE