[Libosinfo] [libosinfo PATCH] tests: Add test-uris-common.h to the SOURCES
Fabiano Fidêncio
fidencio at redhat.com
Mon Feb 18 13:37:23 UTC 2019
Otherwise some breakage can be seen when building libosinfo's RPM
test-uris-common.c:24:10: fatal error: test-uris-common.h: No such file or directory
#include "test-uris-common.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1296: test_mediauris-test-uris-common.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CCLD test-entity
test-mediauris.c:27:10: fatal error: test-uris-common.h: No such file or directory
#include "test-uris-common.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1282: test_mediauris-test-mediauris.o] Error 1
test-treeuris.c:27:10: fatal error: test-uris-common.h: No such file or directory
#include "test-uris-common.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1394: test_treeuris-test-treeuris.o] Error 1
test-uris-common.c:24:10: fatal error: test-uris-common.h: No such file or directory
#include "test-uris-common.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1408: test_treeuris-test-uris-common.o] Error 1
test-imageuris.c:27:10: fatal error: test-uris-common.h: No such file or directory
#include "test-uris-common.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1184: test_imageuris-test-imageuris.o] Error 1
test-uris-common.c:24:10: fatal error: test-uris-common.h: No such file or directory
#include "test-uris-common.h"
Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
Pushed under "build breakage" rule
---
tests/Makefile.am | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f073b41..a822af2 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -113,15 +113,15 @@ test_isodetect_SOURCES = test-isodetect.c
if HAVE_CURL
test_mediauris_LDADD = $(COMMON_LDADD) $(CURL_LIBS)
test_mediauris_CFLAGS = $(COMMON_CFLAGS) $(CURL_CFLAGS)
-test_mediauris_SOURCES = test-mediauris.c test-uris-common.c
+test_mediauris_SOURCES = test-mediauris.c test-uris-common.c test-uris-common.h
test_treeuris_LDADD = $(COMMON_LDADD) $(CURL_LIBS)
test_treeuris_CFLAGS = $(COMMON_CFLAGS) $(CURL_CFLAGS)
-test_treeuris_SOURCES = test-treeuris.c test-uris-common.c
+test_treeuris_SOURCES = test-treeuris.c test-uris-common.c test-uris-common.h
test_imageuris_LDADD = $(COMMON_LDADD) $(CURL_LIBS)
test_imageuris_CFLAGS = $(COMMON_CFLAGS) $(CURL_CFLAGS)
-test_imageuris_SOURCES = test-imageuris.c test-uris-common.c
+test_imageuris_SOURCES = test-imageuris.c test-uris-common.c test-uris-common.h
endif
test_install_script_LDADD = $(COMMON_LDADD)
--
2.20.1
More information about the Libosinfo
mailing list