]> git.imager.perl.org - imager.git/commitdiff
abort under automated testing if we can't find threads support code
authorTony Cook <tony@develop-help.com>
Thu, 25 Oct 2012 04:01:06 +0000 (15:01 +1100)
committerTony Cook <tony@develop-help.com>
Sat, 24 Nov 2012 04:05:55 +0000 (15:05 +1100)
Makefile.PL

index aee608cd7415cc43bf0ad188e9e9cc88ed95758f..3d3cffa15b8f0d2e76bd8f5949b1414ad33667e6 100644 (file)
@@ -181,6 +181,9 @@ if ($Config{useithreads}) {
   else {
     print "Unsupported threading model\n";
     push @objs, "mutexnull.o";
+    if ($ENV{AUTOMATED_TESTING}) {
+      die "OS unsupported: no threading support code for this platform\n";
+    }
   }
 }
 else {