Browse Source

Use %skiptarget=$nothread for tests using thread capabilities

git-svn-id: trunk@34105 -
pierre 9 years ago
parent
commit
1e58b6d944

+ 1 - 1
tests/webtbs/tw10815.pp

@@ -1,4 +1,4 @@
-{ %skiptarget=go32v2 }
+{%skiptarget=$nothread }
 
 program MaxThread;
 

+ 2 - 0
tests/webtbs/tw11006.pp

@@ -1,3 +1,5 @@
+{%skiptarget=$nothread }
+
 {$mode objfpc}
 
 uses

+ 1 - 1
tests/webtbs/tw12942.pp

@@ -1,4 +1,4 @@
-{ %skiptarget=go32v2 }
+{%skiptarget=$nothread }
 
 {$mode objfpc}
 {$s+}

+ 1 - 0
tests/webtbs/tw16326.pp

@@ -1,3 +1,4 @@
+{%skiptarget=$nothread }
 {$mode objfpc}
 {$H+}
 

+ 2 - 1
tests/webtbs/tw16884.pp

@@ -1,3 +1,4 @@
+{%skiptarget=$nothread }
 {$mode objfpc}
 
 uses
@@ -13,7 +14,7 @@ type
   public
     constructor CreateRace(const ForceFail: Boolean);
     procedure Execute; override;
-  end; 
+  end;
 
 constructor TThreadChild.CreateRace(const ForceFail: Boolean);
 begin

+ 2 - 1
tests/webtbs/tw17560.pp

@@ -1,3 +1,4 @@
+{%skiptarget=$nothread }
 { %OPT=-gh }
 // Creating a suspended TThread and then destroying it should not cause memory leaks.
 // Also, Execute() method should not be called.
@@ -18,7 +19,7 @@ type
 var
   t: TThread;
   Flag: Boolean;
-  
+
 procedure TMyThread.Execute;
 begin
   flag := True;

+ 1 - 0
tests/webtbs/tw2794.pp

@@ -1,3 +1,4 @@
+{%skiptarget=$nothread }
 { Source provided for Free Pascal Bug Report 2794 }
 { Submitted by "Johannes Berg" on  2003-11-17 }
 { e-mail: [email protected] }

+ 1 - 0
tests/webtbs/tw3467.pp

@@ -1,3 +1,4 @@
+{%skiptarget=$nothread }
 { Source provided for Free Pascal Bug Report 3467 }
 { Submitted by "Micha Nelissen" on  2004-12-24 }
 { e-mail: [email protected] }

+ 1 - 1
tests/webtbs/tw3695.pp

@@ -1,4 +1,4 @@
-{%skiptarget=go32v2}
+{%skiptarget=$nothread }
 { Source provided for Free Pascal Bug Report 3695 }
 { Submitted by "Pedro Lopez-Cabanillas" on  2005-02-25 }
 { e-mail: [email protected] }

+ 1 - 0
tests/webtbs/tw3751.pp

@@ -1,3 +1,4 @@
+{%skiptarget=$nothread }
 { Source provided for Free Pascal Bug Report 3751 }
 { Submitted by "Nicola Lugato" on  2005-03-05 }
 { e-mail: [email protected] }

+ 1 - 1
tests/webtbs/tw3814.pp

@@ -1,4 +1,4 @@
-{%skiptarget=go32v2}
+{%skiptarget=$nothread }
 { Source provided for Free Pascal Bug Report 3695 }
 { Submitted by "Pedro Lopez-Cabanillas" on  2005-02-25 }
 { e-mail: [email protected] }

+ 2 - 1
tests/webtbs/tw4201.pp

@@ -1,3 +1,4 @@
+{%skiptarget=$nothread }
 { Source provided for Free Pascal Bug Report 4201 }
 { Submitted by "Gergely Nagy" on  2005-07-19 }
 { e-mail: [email protected] }
@@ -72,6 +73,6 @@ begin
   t:= TBuggedThread.Create;
 
   t.Execute;
-  
+
   t.Free();
 end.

+ 1 - 0
tests/webtbs/tw6767.pp

@@ -1,3 +1,4 @@
+{%skiptarget=$nothread }
 { %OPT=-gl -gh }
 program t3;
 

+ 1 - 0
tests/webtbs/tw9073.pp

@@ -1,3 +1,4 @@
+{%skiptarget=$nothread }
 { %opt=-CN }
 
 { the -CN is to generated null pointer load checks for AIX,