[libosinfo PATCH] tests: Add test-uris-common.h to the SOURCES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux