Skip to content

Commit 3015c02

Browse files
committed
check: add jose supported test cases
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent d67c599 commit 3015c02

File tree

11 files changed

+158
-131
lines changed

11 files changed

+158
-131
lines changed

Makefile.am

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,11 @@ test_test_CFLAGS = ${AM_CFLAGS} -fPIC
166166

167167
if HAVE_CHECK
168168

169-
TESTS += test/check_auth_openidc
169+
TESTS += test/test_jose
170170

171-
test_check_auth_openidc_CFLAGS = ${AM_CFLAGS} @CHECK_CFLAGS@
172-
test_check_auth_openidc_SOURCES = \
173-
test/check_auth_openidc.c \
174-
test/stub.c
175-
noinst_HEADERS += \
176-
test/check_auth_openidc.h
177-
test_check_auth_openidc_LDADD = @CHECK_LIBS@
171+
test_test_jose_CFLAGS = @CHECK_CFLAGS@ ${AM_CFLAGS}
172+
test_test_jose_LDADD = @CHECK_LIBS@ ${LDADD}
173+
test_test_jose_SOURCES = test/test_jose.c
178174

179175
endif
180176

src/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/.libs
66
/.deps/
77
/.dirstamp
8+
/*.gcno
89
/config.h
910
/config.h.in
1011
/config.h.in~

src/cache/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
/.libs
55
/.deps/
66
/.dirstamp
7+
/*.gcno
78
/hiredis-*

src/cfg/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/.libs/
55
/*.lo
66
/*.o
7+
/*.gcno

src/handle/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/.dirstamp
44
/*.lo
55
/*.o
6+
/*.gcno

src/proto/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/*.lo
44
/*.o
55
/.dirstamp
6+
/*.gcno

src/util/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/*.lo
44
/*.o
55
/.dirstamp
6+
/*.gcno

test/.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
/test
22
/test-cmd
3+
/test_jose
34
/*.lo
45
/*.o
56
/*.slo
67
/.libs/
78
/.deps/
8-
/test.log
9-
/test.trs
9+
/*.log
10+
/*.trs
1011
/.dirstamp
12+
/*.gcno
13+
/*.gcda

test/check_auth_openidc.c

Lines changed: 0 additions & 66 deletions
This file was deleted.

test/check_auth_openidc.h

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)