Skip to contentSkip to conversation

repair librsvg build script

PATCH Applied Song Cai 2 participants 2 messages Oct 13, 2017 – Oct 17, 2017

lore
Share & tools
lore

Song Cai

author
#0 lore raw

PATCH 5/18 repair librsvg build script

The program such as "rsvg-test" is built for target board, which can't be executed on host, it cause fail of building.

---
 engine/tests/Functional.librsvg/fuego_test.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
engine/tests/Functional.librsvg/fuego_test.sh +1 -7
index 75513a0..b450762 100755
@@ -10,13 +10,7 @@ function test_build {
 	automake -a
 	./configure --host=$PREFIX --enable-always-build-tests --disable-pixbuf-loader
 	make rsvg-convert
-	cd tests
-	make
-	./rsvg-test
-	./styles
-	./crash
-	cd ../tools
-	make
+    make -k check || true
 }
 
 function test_deploy {
Signature · 1 line
2.9.3.windows.3
#1 lore raw
Quoted 39 lines

-----Original Message-----
From: [email protected] [mailto:fuego- [email protected]] On Behalf Of Song Cai
Sent: Friday, October 13, 2017 3:06 AM
To: [email protected]
Subject: [Fuego] [PATCH 05/18] repair librsvg build script

The program such as "rsvg-test" is built for target board, which can't be executed on host, it cause fail of building.

---
 engine/tests/Functional.librsvg/fuego_test.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
engine/tests/Functional.librsvg/fuego_test.sh +0 -0
index 75513a0..b450762 100755
@@ -10,13 +10,7 @@ function test_build {
 	automake -a
 	./configure --host=$PREFIX --enable-always-build-tests --disable-

pixbuf-loader

engine/tests/Functional.librsvg/fuego_test.sh +1 -8
 	make rsvg-convert
-	cd tests
-	make
-	./rsvg-test
-	./styles
-	./crash
-	cd ../tools
-	make
+    make -k check || true
 }
 
 function test_deploy {
--
Quoted 2 lines

2.9.3.windows.3

I can't test this, as I'm missing some of the required packages, which are probably part of AGL. it would probably be good to add an is_on_target for this test for the major required library dependency (maybe cairo?)

In any event, I'm OK with the fix. I'm applying it, please test in your environment.
-- Tim