Skip to content

Commit

Permalink
excludes some tests in test suite (for mono only)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibond84 committed Dec 30, 2015
1 parent 367adca commit 470bc34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
8 changes: 3 additions & 5 deletions TestSuite/copyarr1.pas
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//winonly
var arr : array of integer := (1,2,3);
arr2 : array of integer;
arr3 : array[,] of integer := ((1,2),(3,4));
Expand All @@ -17,10 +18,7 @@
assert(arr4[1,0]=3);
arr4[1,0] := 7;
assert(arr3[1,0]=3);
if (System.Environment.OSVersion.Platform <> System.PlatformID.Unix) and (System.Environment.OSVersion.Platform <> System.PlatformID.MacOSX) then
begin
arr6 := Copy(arr5);
assert(arr6[0]=@i);
end;
arr6 := Copy(arr5);
assert(arr6[0]=@i);

end.
4 changes: 1 addition & 3 deletions TestSuite/units/u_copyarr1.pas
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//winonly
unit u_copyarr1;
var arr : array of integer := (1,2,3);
arr2 : array of integer;
Expand All @@ -18,9 +19,6 @@
assert(arr4[1,0]=3);
arr4[1,0] := 7;
assert(arr3[1,0]=3);
if (System.Environment.OSVersion.Platform <> System.PlatformID.Unix) and (System.Environment.OSVersion.Platform <> System.PlatformID.MacOSX) then
begin
arr6 := Copy(arr5);
assert(arr6[0]=@i);
end;
end.
1 change: 1 addition & 0 deletions TestSuite/usesunits/use_copyarr1.pas
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
//winonly
uses u_copyarr1; begin end.

0 comments on commit 470bc34

Please sign in to comment.