aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-02-23 21:55:33 +0100
committerKristian Evers <kristianevers@gmail.com>2018-02-23 21:55:33 +0100
commitad4b6e12f137817217058f60c36ad51a4d29e417 (patch)
treee90554296b38c6f676ac97bf0bd4ef638f2d12be /src
parent5e6b1ce5e80423aaf62a4b4d9e05a6ecc4abc462 (diff)
downloadPROJ-ad4b6e12f137817217058f60c36ad51a4d29e417.tar.gz
PROJ-ad4b6e12f137817217058f60c36ad51a4d29e417.zip
Don't reset errno when skipping tests.
The error number should not be reset until a new instance of "operation ..." is reached. The ignore-feature initially worked by accident since pj_errno was not being reset when calling proj_errno_reset. This was fixed in #808, which subsequently caused ignored tests to fail.
Diffstat (limited to 'src')
-rw-r--r--src/gie.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gie.c b/src/gie.c
index d9323bac..eb5d5957 100644
--- a/src/gie.c
+++ b/src/gie.c
@@ -332,7 +332,6 @@ static int another_failure (void) {
static int another_skip (void) {
T.op_skip++;
T.total_skip++;
- proj_errno_reset (T.P);
return 0;
}