Browse Source

* do not run test, if no stack checking is available

git-svn-id: trunk@34932 -
florian 8 years ago
parent
commit
0dbcd5daa9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/test/units/system/teststk.pp

+ 4 - 0
tests/test/units/system/teststk.pp

@@ -6,6 +6,10 @@
   {$define nocheck}
 {$endif}
 
+{$ifndef FPC_HAS_FEATURE_STACKCHECK}
+  {$define nocheck}
+{$endif}
+
 {$S+}
 
 { This tests the stack checking routine on those }