Browse Source

* only enable tw35187 for Windows and Linux, since it uses syscalls under unix
(which are not supported on all unix targets; feel free to re-enable for
specific unix targets if the test has been verified to compile there)
o also fixed placement of dotest directives: they have to come before any
part of the program code

git-svn-id: trunk@41717 -

Jonas Maebe 6 years ago
parent
commit
fd42c3fb01
1 changed files with 3 additions and 2 deletions
  1. 3 2
      tests/webtbs/tw35187.pp

+ 3 - 2
tests/webtbs/tw35187.pp

@@ -1,8 +1,9 @@
-program tw35187;
-
+{ %target=win32,win64,linux }
 { %cpu=i386,x86_64 }
 { %opt=-O1 }
 
+program tw35187;
+
 { NOTE: SIGSEGV won't trigger if GetMem is used because it allocates pages from a large pre-reserved heap. [Kit] }
 
 {$IFDEF TARGET_VALID}