laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/41362?usp=email )

Change subject: tests/testsuite.at: fix invalid if-endif syntax
......................................................................

tests/testsuite.at: fix invalid if-endif syntax

`make check` currently fails if libosmocore is configured with
`--disable-msgfile`.  The reason is that the testsuite tries to
execte a binary that does not exist.  This is happening because
the if-endif syntax is invalid and thus ignored.

Change-Id: I81e044dc0bda4674c0d0dc46118d46816712a76c
---
M tests/testsuite.at
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  osmith: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve




diff --git a/tests/testsuite.at b/tests/testsuite.at
index f22ca5a..82758b7 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -81,13 +81,12 @@
 AT_CHECK([$abs_top_builddir/tests/gea/gea_test], [0], [expout])
 AT_CLEANUP

-if ENABLE_MSGFILE
 AT_SETUP([msgfile])
 AT_KEYWORDS([msgfile])
+AT_SKIP_IF([test ! -e $abs_top_builddir/tests/msgfile/msgfile_test])
 cat $abs_srcdir/msgfile/msgfile_test.ok > expout
 AT_CHECK([$abs_top_builddir/tests/msgfile/msgfile_test 
$abs_srcdir/msgfile/msgconfig.cfg], [0], [expout])
 AT_CLEANUP
-endif

 AT_SETUP([sms])
 AT_KEYWORDS([sms])

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/41362?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I81e044dc0bda4674c0d0dc46118d46816712a76c
Gerrit-Change-Number: 41362
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: lynxis lazus <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to