diff options
author | Jan Rybar <jrybar@redhat.com> | 2022-05-09 15:45:33 +0200 |
---|---|---|
committer | Jan Rybar <jrybar@redhat.com> | 2022-05-09 15:45:33 +0200 |
commit | c5c6b784221b9dc054548c15e94719c4e961a7f2 (patch) | |
tree | 4716bf018665205d5d3add11e3c9e69d67e8f165 /test | |
parent | 7d4b52c4d71c46049d87a0775de695ea914f3f1b (diff) | |
download | polkit-c5c6b784221b9dc054548c15e94719c4e961a7f2.tar.gz |
Remove autotools build system
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 34 | ||||
-rw-r--r-- | test/polkit/Makefile.am | 56 | ||||
-rw-r--r-- | test/polkitbackend/Makefile.am | 56 |
3 files changed, 0 insertions, 146 deletions
diff --git a/test/Makefile.am b/test/Makefile.am deleted file mode 100644 index aacc892..0000000 --- a/test/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ - -SUBDIRS = mocklibc . polkit polkitbackend -AM_CFLAGS = $(GLIB_CFLAGS) - -noinst_LTLIBRARIES = libpolkit-test-helper.la -libpolkit_test_helper_la_SOURCES = polkittesthelper.c polkittesthelper.h -libpolkit_test_helper_la_LIBADD = $(GLIB_LIBS) - -EXTRA_DIST = \ - data \ - meson.build \ - $(NULL) - -# Use mocklibc to override NSS services for tests -export MOCK_PASSWD := $(abs_top_srcdir)/test/data/etc/passwd -export MOCK_GROUP := $(abs_top_srcdir)/test/data/etc/group -export MOCK_NETGROUP := $(abs_top_srcdir)/test/data/etc/netgroup -export TESTS_ENVIRONMENT := $(abs_top_builddir)/test/mocklibc/bin/mocklibc - -# Include path to mock config files -export POLKIT_TEST_DATA := $(abs_top_srcdir)/test/data - -clean-local : - rm -f *~ - - -# Never install anything in this dir (specifically MockLibc) -install:; @: -install-exec:; @: -install-data:; @: -uninstall:; @: - - --include $(top_srcdir)/git.mk diff --git a/test/polkit/Makefile.am b/test/polkit/Makefile.am deleted file mode 100644 index 261d1d5..0000000 --- a/test/polkit/Makefile.am +++ /dev/null @@ -1,56 +0,0 @@ - -NULL = - -AM_CPPFLAGS = \ - -I$(top_builddir)/src \ - -I$(top_srcdir)/src \ - -I$(top_srcdir)/test \ - -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \ - -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \ - -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ - -DPACKAGE_BIN_DIR=\""$(bindir)"\" \ - -DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \ - -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \ - -DPACKAGE_LIB_DIR=\""$(libdir)"\" \ - -D_POSIX_PTHREAD_SEMANTICS \ - -D_REENTRANT \ - $(NULL) - -AM_CFLAGS = \ - -D_POLKIT_COMPILATION \ - -D_POLKIT_BACKEND_COMPILATION \ - $(GLIB_CFLAGS) \ - $(NULL) - -LDADD = \ - $(GLIB_LIBS) \ - $(top_builddir)/src/polkit/libpolkit-gobject-1.la \ - $(NULL) - -TEST_PROGS = - -# ---------------------------------------------------------------------------------------------------- - -TEST_PROGS += polkitunixusertest -polkitunixusertest_SOURCES = polkitunixusertest.c - -TEST_PROGS += polkitunixgrouptest -polkitunixgrouptest_SOURCES = polkitunixgrouptest.c - -TEST_PROGS += polkitunixnetgrouptest -polkitunixnetgrouptest_SOURCES = polkitunixnetgrouptest.c - -TEST_PROGS += polkitidentitytest -polkitidentitytest_SOURCES = polkitidentitytest.c - -# ---------------------------------------------------------------------------------------------------- - -check_PROGRAMS = $(TEST_PROGS) -TESTS = $(TEST_PROGS) - -EXTRA_DIST = meson.build - -clean-local : - rm -f *~ - --include $(top_srcdir)/git.mk diff --git a/test/polkitbackend/Makefile.am b/test/polkitbackend/Makefile.am deleted file mode 100644 index 267a2d2..0000000 --- a/test/polkitbackend/Makefile.am +++ /dev/null @@ -1,56 +0,0 @@ - -NULL = - -AM_CPPFLAGS = \ - -I$(top_builddir)/src \ - -I$(top_srcdir)/src \ - -I$(top_srcdir)/test \ - -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \ - -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \ - -DPACKAGE_DATA_DIR=\""$(datadir)"\" \ - -DPACKAGE_BIN_DIR=\""$(bindir)"\" \ - -DPACKAGE_LOCALSTATE_DIR=\""$(localstatedir)"\" \ - -DPACKAGE_LOCALE_DIR=\""$(localedir)"\" \ - -DPACKAGE_LIB_DIR=\""$(libdir)"\" \ - -D_POSIX_PTHREAD_SEMANTICS \ - -D_REENTRANT \ - $(NULL) - -AM_CFLAGS = \ - -D_POLKIT_COMPILATION \ - -D_POLKIT_BACKEND_COMPILATION \ - $(GLIB_CFLAGS) \ - $(NULL) - -LDADD = \ - $(GLIB_LIBS) \ - $(top_builddir)/src/polkit/libpolkit-gobject-1.la \ - $(top_builddir)/src/polkitbackend/libpolkit-backend-1.la\ - $(top_builddir)/test/libpolkit-test-helper.la \ - $(NULL) - -TEST_PROGS = - -# ---------------------------------------------------------------------------------------------------- - -polkitbackendjsauthoritytest_SOURCES = \ - test-polkitbackendjsauthority.c \ - polkitbackendjsauthoritytest-wrapper.py - -# force C++ link via dummy C++ file, (see GNU automake manual section 8.3.5) -nodist_EXTRA_polkitbackendjsauthoritytest_SOURCES = dummy-force-cpp-link.cxx - -TESTS_ENVIRONMENT = TOP_BUILD_DIR="$(top_builddir)" -TEST_PROGS += polkitbackendjsauthoritytest-wrapper.py - -# ---------------------------------------------------------------------------------------------------- - -noinst_PROGRAMS = polkitbackendjsauthoritytest -TESTS = $(TEST_PROGS) - -EXTRA_DIST = meson.build - -clean-local : - rm -f *~ - --include $(top_srcdir)/git.mk |