-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
246 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git a/src/app_test.cpp b/src/app_test.cpp | ||
index 755bfe6..183c735 100644 | ||
--- a/src/app_test.cpp | ||
+++ b/src/app_test.cpp | ||
@@ -562,6 +562,9 @@ int testIntegers() | ||
failed.push_back(i->folder); | ||
} | ||
cout<<"\n"; | ||
+ cout<<"Number of succesful tests "<<good<<endl; | ||
+ cout<<"Number of failed tests "<<bad<<endl; | ||
+ | ||
if(!failed.empty()) | ||
{ | ||
cout<<"Failed tests:\n-------------\n"; | ||
@@ -569,11 +572,9 @@ int testIntegers() | ||
{ | ||
cout<<*i<<" FAILED!\n"; | ||
} | ||
+ return 1; | ||
} | ||
|
||
- cout<<"Number of succesful tests "<<good<<endl; | ||
- cout<<"Number of failed tests "<<bad<<endl; | ||
- | ||
return 0; | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,195 @@ | ||
diff --git a/testsuite/0008PolynomialSetUnion/command b/testsuite/0008PolynomialSetUnion/command | ||
index cbb23d6..d61cb71 100644 | ||
--- a/testsuite/0008PolynomialSetUnion/command | ||
+++ b/testsuite/0008PolynomialSetUnion/command | ||
@@ -1 +1 @@ | ||
-%s _bases | %s _polynomialsetunion |sort | ||
+%s _bases | %s _polynomialsetunion |LC_ALL=C sort|tail -n +2 | sed -e '$ d' | ||
diff --git a/testsuite/0008PolynomialSetUnion/output b/testsuite/0008PolynomialSetUnion/output | ||
index 38dfb6f..12a65c7 100644 | ||
--- a/testsuite/0008PolynomialSetUnion/output | ||
+++ b/testsuite/0008PolynomialSetUnion/output | ||
@@ -1,62 +1,60 @@ | ||
-{ | ||
+a*b-c^6, | ||
+a*b^2-c^3, | ||
+a*b^4-b, | ||
+a*c-b^6, | ||
+a*c^2-b, | ||
+a*c^6-c, | ||
+a-b^11, | ||
+a-b^2*c, | ||
+a-c^9, | ||
a^11-c, | ||
a^15-a, | ||
+a^2*b-c, | ||
a^2*b^3-a, | ||
+a^2*c-b^3, | ||
a^2-b^8, | ||
-a^2*b-c, | ||
a^2-c^4, | ||
-a^2*c-b^3, | ||
-a^3-b^5, | ||
-a^3-b*c^2, | ||
a^3*c^2-c} | ||
-a^4-b^2, | ||
+a^3-b*c^2, | ||
+a^3-b^5, | ||
a^4*c-a, | ||
+a^4-b^2, | ||
a^5-c^3, | ||
a^6*b-a, | ||
a^6-b*c, | ||
a^8-c^2, | ||
a^9-b, | ||
-a-b^11, | ||
-a-b^2*c, | ||
-a*b^2-c^3, | ||
-a*b^4-b, | ||
-a*b-c^6, | ||
-a*c^2-b, | ||
-a*c^6-c, | ||
-a-c^9, | ||
-a*c-b^6, | ||
+b*c-a^6, | ||
+b*c^2-a^3, | ||
+b*c^4-c, | ||
+b-a*c^2, | ||
+b-a^9, | ||
+b-c^11, | ||
b^11-a, | ||
b^15-b, | ||
-b^2-a^4, | ||
+b^2*c-a, | ||
b^2*c^3-b, | ||
+b^2-a^4, | ||
b^2-c^8, | ||
-b^2*c-a, | ||
b^3-a^2*c, | ||
b^3-c^5, | ||
b^4-c^2, | ||
b^5-a^3, | ||
-b^6-a*c, | ||
b^6*c-b, | ||
+b^6-a*c, | ||
b^8-a^2, | ||
b^9-c, | ||
-b-a^9, | ||
-b-a*c^2, | ||
-b-c^11, | ||
-b*c^2-a^3, | ||
-b*c^4-c, | ||
-b*c-a^6, | ||
+c-a^11, | ||
+c-a^2*b, | ||
+c-b^9, | ||
c^11-b, | ||
c^15-c, | ||
c^2-a^8, | ||
c^2-b^4, | ||
-c^3-a^5, | ||
c^3-a*b^2, | ||
+c^3-a^5, | ||
c^4-a^2, | ||
c^5-b^3, | ||
c^6-a*b, | ||
c^8-b^2, | ||
c^9-a, | ||
-c-a^11, | ||
-c-a^2*b, | ||
-c-b^9, | ||
-Q[a,b,c] | ||
diff --git a/testsuite/0008PolynomialSetUnion/outputNew b/testsuite/0008PolynomialSetUnion/outputNew | ||
index 38dfb6f..12a65c7 100644 | ||
--- a/testsuite/0008PolynomialSetUnion/outputNew | ||
+++ b/testsuite/0008PolynomialSetUnion/outputNew | ||
@@ -1,62 +1,60 @@ | ||
-{ | ||
+a*b-c^6, | ||
+a*b^2-c^3, | ||
+a*b^4-b, | ||
+a*c-b^6, | ||
+a*c^2-b, | ||
+a*c^6-c, | ||
+a-b^11, | ||
+a-b^2*c, | ||
+a-c^9, | ||
a^11-c, | ||
a^15-a, | ||
+a^2*b-c, | ||
a^2*b^3-a, | ||
+a^2*c-b^3, | ||
a^2-b^8, | ||
-a^2*b-c, | ||
a^2-c^4, | ||
-a^2*c-b^3, | ||
-a^3-b^5, | ||
-a^3-b*c^2, | ||
a^3*c^2-c} | ||
-a^4-b^2, | ||
+a^3-b*c^2, | ||
+a^3-b^5, | ||
a^4*c-a, | ||
+a^4-b^2, | ||
a^5-c^3, | ||
a^6*b-a, | ||
a^6-b*c, | ||
a^8-c^2, | ||
a^9-b, | ||
-a-b^11, | ||
-a-b^2*c, | ||
-a*b^2-c^3, | ||
-a*b^4-b, | ||
-a*b-c^6, | ||
-a*c^2-b, | ||
-a*c^6-c, | ||
-a-c^9, | ||
-a*c-b^6, | ||
+b*c-a^6, | ||
+b*c^2-a^3, | ||
+b*c^4-c, | ||
+b-a*c^2, | ||
+b-a^9, | ||
+b-c^11, | ||
b^11-a, | ||
b^15-b, | ||
-b^2-a^4, | ||
+b^2*c-a, | ||
b^2*c^3-b, | ||
+b^2-a^4, | ||
b^2-c^8, | ||
-b^2*c-a, | ||
b^3-a^2*c, | ||
b^3-c^5, | ||
b^4-c^2, | ||
b^5-a^3, | ||
-b^6-a*c, | ||
b^6*c-b, | ||
+b^6-a*c, | ||
b^8-a^2, | ||
b^9-c, | ||
-b-a^9, | ||
-b-a*c^2, | ||
-b-c^11, | ||
-b*c^2-a^3, | ||
-b*c^4-c, | ||
-b*c-a^6, | ||
+c-a^11, | ||
+c-a^2*b, | ||
+c-b^9, | ||
c^11-b, | ||
c^15-c, | ||
c^2-a^8, | ||
c^2-b^4, | ||
-c^3-a^5, | ||
c^3-a*b^2, | ||
+c^3-a^5, | ||
c^4-a^2, | ||
c^5-b^3, | ||
c^6-a*b, | ||
c^8-b^2, | ||
c^9-a, | ||
-c-a^11, | ||
-c-a^2*b, | ||
-c-b^9, | ||
-Q[a,b,c] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Template file for 'gfan' | ||
pkgname=gfan | ||
version=0.6.2 | ||
revision=1 | ||
wrksrc=gfan$version | ||
build_style=gnu-makefile | ||
makedepends="gmp-devel cddlib-devel" | ||
short_desc="Package for computing Groebner fans and tropical varieties" | ||
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>" | ||
license="GPL-2.0-or-later" | ||
homepage="https://math.au.dk/~jensen/software/gfan/gfan.html" | ||
distfiles="https://math.au.dk/~jensen/software/gfan/gfan${version}.tar.gz" | ||
checksum=a674d5e5dc43634397de0d55dd5da3c32bd358d05f72b73a50e62c1a1686f10a | ||
|
||
# - without -DGMPRATIONAL the build fails | ||
# the Makefile sets this flag but our CFLAGS override it | ||
# - the include prefix for cddlib has changed in recent versions so we | ||
# disable the old prefix and use -I for the new prefix | ||
CFLAGS="-DGMPRATIONAL -DNOCDDPREFIX -I/usr/include/cddlib" | ||
|
||
do_install() { | ||
make PREFIX=${DESTDIR}/usr install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ignore=lib* |