tests: Disable C unit tests
These link to librpmostreepriv.la which will be going away. I think we should basically focus on moving code into Rust which has a solid solution for this in `#[test]` and debug vs release builds etc.
This commit is contained in:
parent
ec5bdca9e5
commit
e05ed11d50
@ -20,38 +20,39 @@ endif
|
|||||||
|
|
||||||
GITIGNOREFILES += ssh-config ansible-inventory.yml vmcheck-logs/ test-compose-logs/ tests/vmcheck/image.qcow2
|
GITIGNOREFILES += ssh-config ansible-inventory.yml vmcheck-logs/ test-compose-logs/ tests/vmcheck/image.qcow2
|
||||||
|
|
||||||
testbin_cppflags = $(AM_CPPFLAGS) -I $(srcdir)/src/lib -I $(srcdir)/src/libpriv -I $(srcdir)/libglnx -I $(srcdir)/tests/common
|
# Disabled for now because we dropped librpmostreepriv.la
|
||||||
testbin_cflags = $(AM_CFLAGS) -fvisibility=hidden $(PKGDEP_RPMOSTREE_CFLAGS)
|
# testbin_cppflags = $(AM_CPPFLAGS) -I $(srcdir)/src/lib -I $(srcdir)/src/libpriv -I $(srcdir)/libglnx -I $(srcdir)/tests/common
|
||||||
testbin_ldadd = $(PKGDEP_RPMOSTREE_LIBS) librpmostree-1.la librpmostreepriv.la -lstdc++
|
# testbin_cflags = $(AM_CFLAGS) -fvisibility=hidden $(PKGDEP_RPMOSTREE_CFLAGS)
|
||||||
|
# testbin_ldadd = $(PKGDEP_RPMOSTREE_LIBS) librpmostree-1.la librpmostreepriv.la -lstdc++
|
||||||
noinst_LTLIBRARIES += libtest.la
|
#
|
||||||
libtest_la_SOURCES = tests/common/libtest.c
|
# noinst_LTLIBRARIES += libtest.la
|
||||||
libtest_la_CPPFLAGS = $(testbin_cppflags)
|
# libtest_la_SOURCES = tests/common/libtest.c
|
||||||
libtest_la_CFLAGS = $(testbin_cflags)
|
# libtest_la_CPPFLAGS = $(testbin_cppflags)
|
||||||
libtest_la_LIBADD = $(testbin_ldadd)
|
# libtest_la_CFLAGS = $(testbin_cflags)
|
||||||
|
# libtest_la_LIBADD = $(testbin_ldadd)
|
||||||
tests_check_jsonutil_CPPFLAGS = $(testbin_cppflags)
|
#
|
||||||
tests_check_jsonutil_CFLAGS = $(testbin_cflags)
|
# tests_check_jsonutil_CPPFLAGS = $(testbin_cppflags)
|
||||||
tests_check_jsonutil_LDADD = $(testbin_ldadd) libtest.la
|
# tests_check_jsonutil_CFLAGS = $(testbin_cflags)
|
||||||
|
# tests_check_jsonutil_LDADD = $(testbin_ldadd) libtest.la
|
||||||
tests_check_postprocess_CPPFLAGS = $(testbin_cppflags)
|
#
|
||||||
tests_check_postprocess_CFLAGS = $(testbin_cflags)
|
# tests_check_postprocess_CPPFLAGS = $(testbin_cppflags)
|
||||||
tests_check_postprocess_LDADD = $(testbin_ldadd) libtest.la
|
# tests_check_postprocess_CFLAGS = $(testbin_cflags)
|
||||||
|
# tests_check_postprocess_LDADD = $(testbin_ldadd) libtest.la
|
||||||
tests_check_test_utils_CPPFLAGS = $(testbin_cppflags)
|
#
|
||||||
tests_check_test_utils_CFLAGS = $(testbin_cflags)
|
# tests_check_test_utils_CPPFLAGS = $(testbin_cppflags)
|
||||||
tests_check_test_utils_LDADD = $(testbin_ldadd) libtest.la
|
# tests_check_test_utils_CFLAGS = $(testbin_cflags)
|
||||||
|
# tests_check_test_utils_LDADD = $(testbin_ldadd) libtest.la
|
||||||
tests_check_test_sysusers_CPPFLAGS = $(testbin_cppflags)
|
#
|
||||||
tests_check_test_sysusers_CFLAGS = $(testbin_cflags)
|
# tests_check_test_sysusers_CPPFLAGS = $(testbin_cppflags)
|
||||||
tests_check_test_sysusers_LDADD = $(testbin_ldadd) libtest.la
|
# tests_check_test_sysusers_CFLAGS = $(testbin_cflags)
|
||||||
|
# tests_check_test_sysusers_LDADD = $(testbin_ldadd) libtest.la
|
||||||
uninstalled_test_programs = \
|
#
|
||||||
tests/check/jsonutil \
|
# uninstalled_test_programs = \
|
||||||
tests/check/postprocess \
|
# tests/check/jsonutil \
|
||||||
tests/check/test-utils \
|
# tests/check/postprocess \
|
||||||
tests/check/test-sysusers \
|
# tests/check/test-utils \
|
||||||
$(NULL)
|
# tests/check/test-sysusers \
|
||||||
|
# $(NULL)
|
||||||
|
|
||||||
uninstalled_test_scripts = \
|
uninstalled_test_scripts = \
|
||||||
tests/check/test-lib-introspection.sh \
|
tests/check/test-lib-introspection.sh \
|
||||||
|
Loading…
Reference in New Issue
Block a user