updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / yacas / tests.patch
blob3d5f6dc65c3fc4decc6f03dc6189e16629605e9d
1 diff -Nur yacas-1.2.2.orig/tests/includetestfiles yacas-1.2.2/tests/includetestfiles
2 --- yacas-1.2.2.orig/tests/includetestfiles 2011-07-28 20:44:18.000000000 +0100
3 +++ yacas-1.2.2/tests/includetestfiles 2011-07-28 20:59:03.000000000 +0100
4 @@ -1,11 +1,11 @@
6 +FAILURES_TESTFILES = calculus.yts complex.yts regress.yts
7 NORMAL_TESTFILES = \
8 - openmath.yts macro.yts arithmetic.yts c_tex_form.yts calculus.yts canprove.yts \
9 - comments.yts complex.yts deriv.yts dimensions.yts dot.yts journal.yts \
10 + openmath.yts macro.yts arithmetic.yts c_tex_form.yts canprove.yts \
11 + comments.yts deriv.yts dimensions.yts dot.yts journal.yts \
12 integrate.yts lists.yts logic_simplify_test.yts matrixpower.yts \
13 nthroot.yts outer.yts predicates.yts ode.yts \
14 tensors.yts trace.yts tr.yts multivar.yts numbers.yts io.yts \
15 - programming.yts regress.yts simplify.yts solve.yts sums.yts \
16 + programming.yts simplify.yts solve.yts sums.yts \
17 transforms.yts radsimp.yts linalg.yts orthopoly.yts poly.yts numerics.yts \
18 scopestack.yts plots.yts GaussianIntegers.yts nummethods.yts sturm.yts \
19 cyclotomic.yts binaryfactors.yts
20 diff -Nur yacas-1.2.2.orig/tests/test-yacas yacas-1.2.2/tests/test-yacas
21 --- yacas-1.2.2.orig/tests/test-yacas 2011-07-28 20:44:18.000000000 +0100
22 +++ yacas-1.2.2/tests/test-yacas 2011-07-28 20:44:47.000000000 +0100
23 @@ -69,7 +69,7 @@
24 # fi
25 echo "Running $scr"
26 if [ -f $TESTFILE ]; then rm $TESTFILE ; fi
27 - /bin/sh -c "time -p ($CMD $f || echo \"Error: exit status $?\") | tee $TESTFILE" \
28 + /bin/sh -c "time -p $($CMD $f || echo \"Error: exit status $?\") | tee $TESTFILE" \
29 2> $TIMEFILE \
30 || (echo "Error -- User interrupt" > $TESTFILE)
31 # cat $TIMEFILE