summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-webadmin/cockpit/files/0001-remove-tests-dep-on-gobject-intro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-webserver/recipes-webadmin/cockpit/files/0001-remove-tests-dep-on-gobject-intro.patch')
-rw-r--r--meta-webserver/recipes-webadmin/cockpit/files/0001-remove-tests-dep-on-gobject-intro.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/meta-webserver/recipes-webadmin/cockpit/files/0001-remove-tests-dep-on-gobject-intro.patch b/meta-webserver/recipes-webadmin/cockpit/files/0001-remove-tests-dep-on-gobject-intro.patch
deleted file mode 100644
index b633cb0cf3..0000000000
--- a/meta-webserver/recipes-webadmin/cockpit/files/0001-remove-tests-dep-on-gobject-intro.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1From 788aace494f79e8201b18ebcdf1592b5030c5295 Mon Sep 17 00:00:00 2001
2From: Adrian Freihofer <adrian.freihofer@siemens.com>
3Date: Wed, 4 Dec 2019 17:23:46 +0100
4Subject: [PATCH] remove tests dep on gobject-intro
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 src/ws/Makefile-ws.am | 54 ---------------------------------------------------
10 1 file changed, 54 deletions(-)
11
12--- a/src/ws/Makefile-ws.am
13+++ b/src/ws/Makefile-ws.am
14@@ -58,46 +58,6 @@ pam_cockpit_cert_so_LDFLAGS = -shared
15 pam_cockpit_cert_so_SOURCES = src/ws/pam_cockpit_cert.c
16
17 # -----------------------------------------------------------------------------
18-# test-server: server for running the html/browser unit tests against
19-
20-check_PROGRAMS += test-server
21-
22-test_server_CPPFLAGS = $(libcockpit_ws_a_CPPFLAGS) $(TEST_CPP)
23-test_server_LDADD = $(libcockpit_ws_a_LIBS) $(TEST_LIBS)
24-
25-test_server_SOURCES = \
26- src/ws/mock-service.c \
27- src/ws/mock-service.h \
28- src/ws/test-server.c \
29- $(NULL)
30-
31-test_server_CPPFLAGS += -I$(top_builddir)/src/ws
32-nodist_test_server_SOURCES = $(GDBUS_CODEGEN_GENERATED)
33-
34-BUILT_SOURCES += $(GDBUS_CODEGEN_GENERATED)
35-CLEANFILES += $(GDBUS_CODEGEN_GENERATED)
36-GDBUS_CODEGEN_GENERATED = \
37- src/ws/mock-dbus-tests.h \
38- src/ws/mock-dbus-tests.c \
39- $(NULL)
40-
41-EXTRA_DIST += $(GDBUS_CODEGEN_XML)
42-GDBUS_CODEGEN_XML = $(srcdir)/src/ws/com.redhat.Cockpit.DBusTests.xml
43-
44-GDBUS_CODEGEN_INVOCATION = \
45- $(AM_V_GEN) gdbus-codegen \
46- --interface-prefix com.redhat.Cockpit.DBusTests \
47- --c-namespace Test \
48- --c-generate-object-manager \
49- $(NULL)
50-
51-src/ws/mock-dbus-tests.h: $(GDBUS_CODEGEN_XML)
52- $(GDBUS_CODEGEN_INVOCATION) --header --output $@ $<
53-
54-src/ws/mock-dbus-tests.c: $(GDBUS_CODEGEN_XML)
55- $(GDBUS_CODEGEN_INVOCATION) --body --output $@ $<
56-
57-# -----------------------------------------------------------------------------
58 # Unit tests
59
60 check_SCRIPTS += src/ws/mock-cat-with-init