Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Use anoter mechanism to skip test on OSX
Baptiste Daroussin committed 10 years ago
commit fa3b30516ef4083268560e6c3c7888a9ed7d19d2
parent 4486db6956cb64f61bad7bf7f1593c5bd83963d6
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