Commit 1ca2fdee authored by Ximin Luo's avatar Ximin Luo

Update test fixes

parent a9e51779
......@@ -7,6 +7,7 @@ Build-Depends:
debhelper (>= 10),
dh-autoreconf,
automake,
patch,
bison,
flex,
libtool,
......
......@@ -10,6 +10,8 @@ dont-bg-hevea.patch
# Debian only
test-fixes.patch
# This is applied in d/rules, leave it unapplied here
#test-fixes-data.patch
dont-build-files-excluded.patch
dont-include-remote-scripts.patch
find-doc-files-at-buildtime.patch
Description: Loosen expected test case in chk_fhan16
Upstream says it is only a sorting issue and not an important test failure.
Author: Ximin Luo <infinity0@debian.org>
Bug: http://xcas.e.ujf-grenoble.fr/XCAS/viewtopic.php?p=8965#p8965
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/check/TP16-sol.cas.out2
+++ b/check/TP16-sol.cas.out2
@@ -20,7 +20,7 @@
"Done",
"Done",
-x^5+3*x^4+16*x^3-48*x^2+16,
--1.0*(x-4.105876927)*(x-2.749235551)*(x-0.6633796231)*(x+0.5365997443)*(x+3.981892356),
+(-1.0)*(x-4.105876927)*(x-2.749235551)*(x-0.6633796231)*(x+0.5365997443)*(x+3.981892356),
[1-t,1+(y-1)*t],
(1-t)*(1+(y-1)*t)-4,
(1+(y-1)*t)^2-(1-t-3)*((1-t)^2-16),
@@ -48,8 +48,7 @@
"Done",
[-sqrt(13)-1,sqrt(13)-1,4],
y^2+6*sqrt(13)+18,y^2-6*sqrt(13)+18,y^2,
-"Done",
-[-sqrt(6*(sqrt(13)-3)),I*sqrt(6*(sqrt(13)+3)),0,(-I)*sqrt(6*(sqrt(13)+3)),sqrt(6*(sqrt(13)-3))],
+sqrt(6)*I*sqrt(sqrt(13)+3),-sqrt(6)*I*sqrt(sqrt(13)+3),-sqrt(6)*sqrt(sqrt(13)-3),sqrt(6)*sqrt(sqrt(13)-3),0,
"No such variable u",
x^2+1/4*y^2+1/9*z^2-1,
x^2+y^2+z^2-u,
@@ -80,10 +79,10 @@
64*x^4+96*x^3*y+180*x^2*y^2+48*x^2+108*x*y^3+36*x*y+81*y^4+54*y^2+9,
(8*x^2+6*x*y+9*y^2+3)^2,
t^2*(x^2+y^2-1)+t*(x*y+y^2-x^2)+x^2+2*y^2-1,
-x*y+y^2-x^2+2*t*(x^2+y^2-1),
+2*t*(x^2+y^2-1)+x*y+y^2-x^2,
3*x^6+2*x^5*y+16*x^4*y^2-11*x^4-2*x^3*y+20*x^2*y^4-33*x^2*y^2+12*x^2-2*x*y^5+2*x*y^3+7*y^6-19*y^4+16*y^2-4,
(x^2+y^2-1)*(3*x^4+2*x^3*y+13*x^2*y^2-8*x^2-2*x*y^3+7*y^4-12*y^2+4),
3*x^4+2*x^3*y+13*x^2*y^2-8*x^2-2*x*y^3+7*y^4-12*y^2+4,
(t)->t^2*(x^2+y^2-1)+t*(x*y+y^2-x^2)+x^2+2*y^2-1,
- (t)->x*y+y^2-x^2+2*t*(x^2+y^2-1),
+ (t)->2*t*(x^2+y^2-1)+x*y+y^2-x^2,
"Done"
--- a/check/integrate.out2
+++ b/check/integrate.out2
@@ -32,7 +32,7 @@
1/4*ln((4*x^2*tan(x/2)^4+8*x^2*tan(x/2)^2+4*x^2+16*x*tan(x/2)^3+16*x*tan(x/2)+16*tan(x/2)^2)/(tan(x/2)^4+2*tan(x/2)^2+1)),
2*(sqrt(x+1)*(x+1)/3-sqrt(x+1)),
atan(sqrt(exp(x)-1)/2),
-2/3*asin(sqrt(x)*x/sqrt(a)/a)*sign(a),
+2/3*sign(a)*asin(sqrt(x)*x/sqrt(a)/a),
-2*(-1/2*sqrt(a-x)*sqrt(x)+1/2*a*asin(sqrt(a-x)/sqrt(a))),
2/4*x*sqrt(a^2+x^2)-2*a^2/4*ln(sqrt(a^2+x^2)-x),
-1/6*cos(3*x)-1/2*cos(x),
This diff is collapsed.
......@@ -32,7 +32,7 @@ override_dh_autoreconf:
cp debian/giac.js doc/giac.js
# Deal with french documentation
cp -a debian/upstream-doc-fr doc/fr
mv doc/fr/Makefile.am.Debian doc/fr/Makefile.am
cp doc/fr/Makefile.am.Debian doc/fr/Makefile.am
# Actually configure
dh_autoreconf
......@@ -44,6 +44,9 @@ override_dh_auto_build-arch:
dh_auto_build -a -D doc -- info
override_dh_auto_test-arch:
cp check/TP16-sol.cas.out1 check/TP16-sol.cas.out2
cp check/integrate.out check/integrate.out2
patch -p1 < debian/patches/test-fixes-data.patch
dh_auto_test -a -D check -- VERBOSE=1
override_dh_auto_test-indep:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment