diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-02 17:22:24 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-02 17:22:24 +0200 |
commit | 9940efe053263478c5f29367b11d6f7ed1276aa4 (patch) | |
tree | 99d1c9e9712c73ba4e6e8e145f007cb74294f12a /lib/common/Makemodule.am | |
parent | 32eb57dd9a19254565a0792ab9b627a3dac319f9 (diff) |
Move fstree CLI code to libcommon
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/common/Makemodule.am')
-rw-r--r-- | lib/common/Makemodule.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/common/Makemodule.am b/lib/common/Makemodule.am index 74b924e..63fa602 100644 --- a/lib/common/Makemodule.am +++ b/lib/common/Makemodule.am @@ -6,7 +6,8 @@ libcommon_a_SOURCES = include/common.h include/simple_writer.h \ lib/common/src/data_writer_ostream.c lib/common/src/perror.c \ lib/common/src/parse_size.c lib/common/src/print_size.c \ lib/common/src/writer/init.c lib/common/src/writer/cleanup.c \ - lib/common/src/writer/serialize_fstree.c lib/common/src/writer/finish.c + lib/common/src/writer/serialize_fstree.c lib/common/src/writer/finish.c\ + lib/common/src/fstree_cli.c libcommon_a_CFLAGS = $(AM_CFLAGS) $(LZO_CFLAGS) if WITH_LZO @@ -14,3 +15,12 @@ libcommon_a_SOURCES += lib/common/src/comp_lzo.c endif noinst_LIBRARIES += libcommon.a + +test_fstree_cli_SOURCES = lib/common/test/fstree_cli.c +test_fstree_cli_LDADD = libcommon.a libio.a libutil.a libcompat.a + +LIBCOMMON_TESTS = \ + test_fstree_cli + +check_PROGRAMS += $(LIBCOMMON_TESTS) +TESTS += $(LIBCOMMON_TESTS) |