* tests/Makefile.am (INCLUDES): Use the new name 'AM_CPPFLAGS'. * tests/t-auth.c (main): Properly signal that the test is skipped. * tests/t-closeallsessions.c (main): Likewise. * tests/t-findobjects.c (main): Likewise. * tests/t-getattribute.c (main): Likewise. * tests/t-getmechanisminfo.c (main): Likewise. * tests/t-getmechanismlist.c (main): Likewise. * tests/t-getsessioninfo.c (main): Likewise. * tests/t-gettokeninfo.c (main): Likewise. * tests/t-opensession.c (main): Likewise. Signed-off-by: Justus Winter <justus@g10code.com>
@@ -37,5 +37,5 @@ TESTS = t-link t-getfunctionlist t-initialize t-getinfo t-getslotlist \
noinst_PROGRAMS = $(TESTS)
-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
LDADD = ../src/scute.la
@@ -105,7 +105,7 @@ main (int argc, char *argv[])
if (slots_count == 0)
{
printf ("Skipping test because no token is present.\n");
- return 0;
+ return 77;
}
printf ("Number of slots with tokens: %lu\n", slots_count);
@@ -53,7 +53,7 @@ main (int argc, char *argv[])
@@ -52,7 +52,7 @@ main (int argc, char *argv[])
@@ -549,7 +549,7 @@ main (int argc, char *argv[])
@@ -51,7 +51,7 @@ main (int argc, char *argv[])