From 66b0bff7736e87c5c51d7d4240a4111d563a4700 Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Mon, 14 Oct 2002 18:48:50 +0000 Subject: [PATCH] Don't to test_xref_functions if gedcom_new_model failed. --- t/src/update.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/src/update.c b/t/src/update.c index cc98376..fc0e079 100644 --- a/t/src/update.c +++ b/t/src/update.c @@ -161,7 +161,8 @@ int main(int argc, char* argv[]) output_open(); result = gedcom_new_model(); - result |= test_xref_functions(); + if (result == 0) + result |= test_xref_functions(); if (result == 0) { output(1, "Test succeeded\n"); } -- 2.30.2