Skip to content

Commit aa39b99

Browse files
ws: drop test-server
1 parent dd13d0d commit aa39b99

File tree

5 files changed

+0
-2147
lines changed

5 files changed

+0
-2147
lines changed

src/ws/Makefile-ws.am

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -57,46 +57,6 @@ pam_cockpit_cert_so_LDADD = -lpam
5757
pam_cockpit_cert_so_LDFLAGS = -shared
5858
pam_cockpit_cert_so_SOURCES = src/ws/pam_cockpit_cert.c
5959

60-
# -----------------------------------------------------------------------------
61-
# test-server: server for running the html/browser unit tests against
62-
63-
check_PROGRAMS += test-server
64-
65-
test_server_CPPFLAGS = $(libcockpit_ws_a_CPPFLAGS) $(TEST_CPP)
66-
test_server_LDADD = $(libcockpit_ws_a_LIBS) $(TEST_LIBS)
67-
68-
test_server_SOURCES = \
69-
src/ws/mock-service.c \
70-
src/ws/mock-service.h \
71-
src/ws/test-server.c \
72-
$(NULL)
73-
74-
test_server_CPPFLAGS += -I$(top_builddir)/src/ws
75-
nodist_test_server_SOURCES = $(GDBUS_CODEGEN_GENERATED)
76-
77-
BUILT_SOURCES += $(GDBUS_CODEGEN_GENERATED)
78-
CLEANFILES += $(GDBUS_CODEGEN_GENERATED)
79-
GDBUS_CODEGEN_GENERATED = \
80-
src/ws/mock-dbus-tests.h \
81-
src/ws/mock-dbus-tests.c \
82-
$(NULL)
83-
84-
EXTRA_DIST += $(GDBUS_CODEGEN_XML)
85-
GDBUS_CODEGEN_XML = $(srcdir)/src/ws/com.redhat.Cockpit.DBusTests.xml
86-
87-
GDBUS_CODEGEN_INVOCATION = \
88-
$(AM_V_GEN) gdbus-codegen \
89-
--interface-prefix com.redhat.Cockpit.DBusTests \
90-
--c-namespace Test \
91-
--c-generate-object-manager \
92-
$(NULL)
93-
94-
src/ws/mock-dbus-tests.h: $(GDBUS_CODEGEN_XML)
95-
$(GDBUS_CODEGEN_INVOCATION) --header --output $@ $<
96-
97-
src/ws/mock-dbus-tests.c: $(GDBUS_CODEGEN_XML)
98-
$(GDBUS_CODEGEN_INVOCATION) --body --output $@ $<
99-
10060
# -----------------------------------------------------------------------------
10161
# Unit tests
10262

src/ws/com.redhat.Cockpit.DBusTests.xml

Lines changed: 0 additions & 180 deletions
This file was deleted.

0 commit comments

Comments
 (0)