Skip to content

Commit 470bc34

Browse files
committed
excludes some tests in test suite (for mono only)
1 parent 367adca commit 470bc34

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

TestSuite/copyarr1.pas

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//winonly
12
var arr : array of integer := (1,2,3);
23
arr2 : array of integer;
34
arr3 : array[,] of integer := ((1,2),(3,4));
@@ -17,10 +18,7 @@
1718
assert(arr4[1,0]=3);
1819
arr4[1,0] := 7;
1920
assert(arr3[1,0]=3);
20-
if (System.Environment.OSVersion.Platform <> System.PlatformID.Unix) and (System.Environment.OSVersion.Platform <> System.PlatformID.MacOSX) then
21-
begin
22-
arr6 := Copy(arr5);
23-
assert(arr6[0]=@i);
24-
end;
21+
arr6 := Copy(arr5);
22+
assert(arr6[0]=@i);
2523

2624
end.

TestSuite/units/u_copyarr1.pas

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//winonly
12
unit u_copyarr1;
23
var arr : array of integer := (1,2,3);
34
arr2 : array of integer;
@@ -18,9 +19,6 @@
1819
assert(arr4[1,0]=3);
1920
arr4[1,0] := 7;
2021
assert(arr3[1,0]=3);
21-
if (System.Environment.OSVersion.Platform <> System.PlatformID.Unix) and (System.Environment.OSVersion.Platform <> System.PlatformID.MacOSX) then
22-
begin
2322
arr6 := Copy(arr5);
2423
assert(arr6[0]=@i);
25-
end;
2624
end.

TestSuite/usesunits/use_copyarr1.pas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
//winonly
12
uses u_copyarr1; begin end.

0 commit comments

Comments
 (0)