criu: add unit testing for config file parser

This tries to add a unit test for the configuration file parser.

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber 2021-06-22 14:52:09 +00:00 committed by Andrei Vagin
parent 45bde968a2
commit 1a197d4d86
7 changed files with 243 additions and 0 deletions

View file

@ -257,6 +257,10 @@ crit: criu
$(Q) $(MAKE) $(build)=crit all
.PHONY: crit
unittest: $(criu-deps)
$(Q) $(MAKE) $(build)=criu unittest
.PHONY: unittest
#
# Libraries next once crit it ready
@ -393,6 +397,7 @@ help:
@echo ' cscope - Generate cscope database'
@echo ' test - Run zdtm test-suite'
@echo ' gcov - Make code coverage report'
@echo ' unittest - Run unit tests'
.PHONY: help
lint: