ports/math/frobby/files/patch-test_runSplitTests
Steve Wills 2da2d29922 math/frobby: create port
Frobby is a software system and project for computations with monomial
ideals. Frobby is free software and it is intended as a vehicle for
computational and mathematical research on monomial ideals.

The current functionality includes Euler characteristic, Hilbert
series, maximal standard monomials, combinatorial optimization on
monomial ideals, primary decomposition, irreducible decomposition,
Alexander dual, associated primes, minimization and intersection of
monomial ideals as well as the computation of Frobenius problems
(using 4ti2) with very large numbers. Frobby is also able to translate
between formats that can be used with several different computer
systems, such as Macaulay 2, Monos, 4ti2, CoCoA4 and Singular. Thus
Frobby can be used with any of those systems.

WWW: http://www.broune.com/frobby/

PR:		231208
Submitted by:	Lorenzo Salvadore <phascolarctos@protonmail.ch>
2019-03-19 16:04:10 +00:00

48 lines
1.3 KiB
Text

--- test/runSplitTests.orig 2018-09-08 10:55:55 UTC
+++ test/runSplitTests
@@ -30,6 +30,8 @@ params="$*"
testhelper=../testScripts/testhelper
paths="specialIdeals commonIdeals frob"
+failed=""
+
runTests () {
action="$1"; shift;
splits="$*";
@@ -41,8 +43,9 @@ runTests () {
for path in $paths; do
cd test/$path;
../testScripts/runtests $action $params -split $split;
- if [ $? != 0 ]; then exit 1; fi
+ if [ $? != 0 ]; then cd ../..; return 1; fi
cd ../..;
+return 0
if [ "$testLevel" = "few" ]; then
if [ "$action" != "frob" ]; then
@@ -57,19 +60,25 @@ runTests () {
for action in $bigattiActions;
do
runTests "$action" $bigattiSplits
+if [ $? -eq 1 ]; then failed="$failed $action"; continue; fi
done
for action in $labelActions;
do
runTests "$action" $labelSplits
+if [ $? -eq 1 ]; then failed="$failed $action"; continue; fi
done
for action in $pivotActions;
do
runTests "$action" $pivotSplits
+if [ $? -eq 1 ]; then failed="$failed $action"; continue; fi
done
for action in $frobActions;
do
runTests "$action" $frobSplits
+if [ $? -eq 1 ]; then failed="$failed $action"; continue; fi
done
+echo -e "\nFailed tests:$failed."
+echo "But test hilbert_bigatti was expected to fail because simplification is broken for it."