blob: 1951a4197ecb8440c7d7622c4e1b1876678438d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
--- test/runTests.orig 2011-09-23 20:09:12 UTC
+++ test/runTests
@@ -15,20 +15,23 @@ normalTests="euler alexdual hilbert_deform hilbert_big
specialTests="internal idealFormats polyFormats latticeFormats messages"
params="$*"
+failed=""
runNormalTests () {
action="$1"; shift;
path="$1"; shift;
cd test/$path;
../testScripts/runtests $action $params
- if [ $? != 0 ]; then exit 1; fi
+ if [ $? != 0 ]; then cd ../..; return 1; fi
cd ../..;
+return 0
}
for t in $normalTests; do
echo -n "$t "
runNormalTests $t specialIdeals
+if [ $? -eq 1 ]; then failed="$failed $t"; continue; fi
if [ "$testLevel" = "few" ]; then
if [ "$t" != "frob" ]; then
echo;
@@ -37,15 +40,19 @@ for t in $normalTests; do
fi
runNormalTests $t commonIdeals
+if [ $? -eq 1 ]; then failed="$failed $t"; continue; fi
runNormalTests $t frob
+if [ $? -eq 1 ]; then failed="$failed $t"; continue; fi
if [ "$t" == "euler" ]; then
runNormalTests $t bigIdeals
+if [ $? -eq 1 ]; then failed="$failed $t"; continue; fi
fi
if [ -e "$t" ]; then
runNormalTests $t $t
+if [ $? -eq 1 ]; then failed="$failed $t"; continue; fi
fi
echo
@@ -56,9 +63,10 @@ do
echo -n "$t "
cd test/$t
./runtests $*
- if [ $? != 0 ]; then exit 1; fi
+ if [ $? != 0 ]; then failed="$failed $t"; continue; fi
echo
cd ../..
done
-echo "All normal tests passed."
+echo "Failed tests:$failed."
+echo "But tests hilbert_deform and hilbert_bigatti were expected to fail because simplification is broken for them."
|