Revision
141303
Author
dstrubbe@macports.org
Date
2015-10-15 12:35:18 -0700 (Thu, 15 Oct 2015)

Log Message

whizard: Disable test phase for El Capitan.

Modified Paths

Diff

Modified: trunk/dports/science/whizard/Portfile (141302 => 141303)


--- trunk/dports/science/whizard/Portfile	2015-10-15 19:19:05 UTC (rev 141302)
+++ trunk/dports/science/whizard/Portfile	2015-10-15 19:35:18 UTC (rev 141303)
@@ -44,9 +44,18 @@
 compilers.choose    cc cxx fc f77
 compilers.setup     require_fortran -clang -llvm -g95 -gfortran
 
-test.run            yes
-test.target         check
+# make check doesn't work in general on El Capitan as long as SIP is activated as DYLD variables are not exported.
+if {${os.major} <= 14 && ${os.platform} eq "darwin"} {
+     test.run            yes
+     test.target         check
+}
 
+# needs further work, many tests fail
+#variant installcheck description {Run testsuite after installation. Use instead of 'port test' for El Capitan.} {
+#    patchfiles-append    patch-omega-tests-Makefile.in.diff
+#    destroot.target      install installcheck
+#}
+
 livecheck.type      regex
 livecheck.url       [lindex ${master_sites} 0]
 livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}