Skip to content

Commit ddf47d6

Browse files
authored
Merge pull request #468 from Cropi/llist-tests
test: add comprehensive unit tests for aulast linked list
2 parents 263414b + 7bc588f commit ddf47d6

File tree

4 files changed

+461
-0
lines changed

4 files changed

+461
-0
lines changed

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ AC_CONFIG_FILES([Makefile common/Makefile lib/Makefile lib/audit.pc
437437
bindings/python/python3/Makefile bindings/golang/Makefile
438438
bindings/swig/Makefile bindings/swig/src/Makefile
439439
bindings/swig/python3/Makefile tools/Makefile tools/aulast/Makefile
440+
tools/aulast/test/Makefile
440441
tools/aulastlog/Makefile tools/ausyscall/Makefile m4/Makefile],
441442
[chmod +x auparse/test/run_auparse_tests.sh auparse/test/run_auparselol_test.sh])
442443
AC_OUTPUT

tools/aulast/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
# Steve Grubb <[email protected]>
2222
#
2323

24+
SUBDIRS = test
2425
CONFIG_CLEAN_FILES = *.loT *.rej *.orig
2526
EXTRA_DIST = $(man_MANS)
2627
AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/lib -I${top_srcdir}/auparse

tools/aulast/test/Makefile.am

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CONFIG_CLEAN_FILES = *.loT *.rej *.orig
2+
noinst_PROGRAMS = aulast_llist_test
3+
TESTS = aulast_llist_test
4+
5+
AM_CPPFLAGS = -I${top_srcdir}/tools/aulast
6+
7+
aulast_llist_test_SOURCES = aulast_llist_test.c ${top_srcdir}/tools/aulast/aulast-llist.c
8+
aulast_llist_test_LDFLAGS = -static

0 commit comments

Comments
 (0)