Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Use anoter mechanism to skip test on OSX
Baptiste Daroussin committed 10 years ago
commit fa3b30516ef4083268560e6c3c7888a9ed7d19d2
parent 4486db6
1 file changed +4 -4
modified tests/frontend/jpeg.sh
@@ -2,13 +2,13 @@

. $(atf_get_srcdir)/test_environment.sh

-
if [ "${OS}" != "Darwin" ]; then
-
	jpeg=jpeg
-
fi
tests_init \
-
	${jpeg}
+
	jpeg

jpeg_body() {
+
	if [ "${OS}" = "FreeBSD" ]; then
+
		return
+
	fi
	cc -shared -Wl,-soname=libjpeg.so.3 -o libjpeg.so.3
	ln -sf libjpeg.so.3 libjpeg.so
	cc -shared -Wl,-rpath=${TMPDIR} -L. -ljpeg -o deponjpeg.so