Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 1 | From 788aace494f79e8201b18ebcdf1592b5030c5295 Mon Sep 17 00:00:00 2001 |
| 2 | From: Adrian Freihofer <adrian.freihofer@siemens.com> |
| 3 | Date: Wed, 4 Dec 2019 17:23:46 +0100 |
| 4 | Subject: [PATCH] remove tests dep on gobject-intro |
| 5 | |
| 6 | --- |
| 7 | src/ws/Makefile-ws.am | 54 --------------------------------------------------- |
| 8 | 1 file changed, 54 deletions(-) |
| 9 | |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 10 | --- a/src/ws/Makefile-ws.am |
| 11 | +++ b/src/ws/Makefile-ws.am |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 12 | @@ -58,46 +58,6 @@ pam_cockpit_cert_so_LDFLAGS = -shared |
| 13 | pam_cockpit_cert_so_SOURCES = src/ws/pam_cockpit_cert.c |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 14 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 15 | # ----------------------------------------------------------------------------- |
| 16 | -# test-server: server for running the html/browser unit tests against |
| 17 | - |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 18 | -check_PROGRAMS += test-server |
| 19 | - |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 20 | -test_server_CPPFLAGS = $(libcockpit_ws_a_CPPFLAGS) $(TEST_CPP) |
| 21 | -test_server_LDADD = $(libcockpit_ws_a_LIBS) $(TEST_LIBS) |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 22 | - |
| 23 | -test_server_SOURCES = \ |
| 24 | - src/ws/mock-service.c \ |
| 25 | - src/ws/mock-service.h \ |
| 26 | - src/ws/test-server.c \ |
| 27 | - $(NULL) |
| 28 | - |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 29 | -test_server_CPPFLAGS += -I$(top_builddir)/src/ws |
| 30 | -nodist_test_server_SOURCES = $(GDBUS_CODEGEN_GENERATED) |
| 31 | - |
| 32 | -BUILT_SOURCES += $(GDBUS_CODEGEN_GENERATED) |
| 33 | -CLEANFILES += $(GDBUS_CODEGEN_GENERATED) |
| 34 | -GDBUS_CODEGEN_GENERATED = \ |
| 35 | - src/ws/mock-dbus-tests.h \ |
| 36 | - src/ws/mock-dbus-tests.c \ |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 37 | - $(NULL) |
| 38 | - |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 39 | -EXTRA_DIST += $(GDBUS_CODEGEN_XML) |
| 40 | -GDBUS_CODEGEN_XML = $(srcdir)/src/ws/com.redhat.Cockpit.DBusTests.xml |
| 41 | - |
| 42 | -GDBUS_CODEGEN_INVOCATION = \ |
| 43 | - $(AM_V_GEN) gdbus-codegen \ |
| 44 | - --interface-prefix com.redhat.Cockpit.DBusTests \ |
| 45 | - --c-namespace Test \ |
| 46 | - --c-generate-object-manager \ |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 47 | - $(NULL) |
| 48 | - |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 49 | -src/ws/mock-dbus-tests.h: $(GDBUS_CODEGEN_XML) |
| 50 | - $(GDBUS_CODEGEN_INVOCATION) --header --output $@ $< |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame] | 51 | - |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 52 | -src/ws/mock-dbus-tests.c: $(GDBUS_CODEGEN_XML) |
| 53 | - $(GDBUS_CODEGEN_INVOCATION) --body --output $@ $< |
| 54 | - |
| 55 | -# ----------------------------------------------------------------------------- |
| 56 | # Unit tests |
| 57 | |
| 58 | check_SCRIPTS += src/ws/mock-cat-with-init |