ding-libs/tests/sanity/Makefile
Steeve Goveas f8513f5719 Enable gating for ding-libs
Resolves: rhbz#1962772

sssd-team is added as a recipient
2021-05-28 21:10:08 +05:30

38 lines
1.6 KiB
Makefile

tests: collection_ut.c collection_queue_ut.c collection_stack_ut.c \
dhash_ut_check.c ini_augment_ut_check.c ini_comment_ut.c \
ini_configmod_ut_check.c ini_parse_ut_check.c \
ini_validators_ut_check.c ini_valueobj_ut.c path_utils_ut.c \
ref_array_ut.c simplebuffer_ut.c
gcc collection_ut.c -lcollection -o collection_ut
gcc collection_queue_ut.c -lcollection -o collection_queue_ut
gcc collection_stack_ut.c -lcollection -o collection_stack_ut
gcc dhash_ut_check.c -ldhash -lcheck -o dhash_ut_check
gcc ini_augment_ut_check.c -lini_config -lcollection -lcheck -lref_array \
-o ini_augment_ut_check
gcc ini_comment_ut.c -lini_config -lcheck -o ini_comment_ut
gcc ini_configmod_ut_check.c -lbasicobjects -lcheck -lini_config \
-o ini_configmod_ut_check
gcc ini_parse_ut_check.c -lcheck -lini_config -o ini_parse_ut_check
gcc ini_validators_ut_check.c -lini_config -lcheck \
-o ini_validators_ut_check
gcc ini_valueobj_ut.c -lini_config -lbasicobjects -o ini_valueobj_ut
gcc path_utils_ut.c -lpath_utils -lcheck -o path_utils_ut
gcc ref_array_ut.c -lref_array -o ref_array_ut
gcc simplebuffer_ut.c -lbasicobjects -o simplebuffer_ut
run: tests
./collection_ut || exit 1
./collection_queue_ut || exit 2
./collection_stack_ut || exit 3
./dhash_ut_check || exit 4
./ini_augment_ut_check || exit 5
./ini_comment_ut || exit 6
./ini_configmod_ut_check || exit 7
./ini_parse_ut_check || exit 8
./ini_validators_ut_check || exit 9
./ini_valueobj_ut || exit 10
./path_utils_ut || exit 11
./ref_array_ut || exit 12
./simplebuffer_ut || exit 13
echo ALL TESTS PASSED