excludes some tests in test suite (for mono only)
This commit is contained in:
parent
367adcaa94
commit
470bc34309
|
|
@ -1,3 +1,4 @@
|
||||||
|
//winonly
|
||||||
var arr : array of integer := (1,2,3);
|
var arr : array of integer := (1,2,3);
|
||||||
arr2 : array of integer;
|
arr2 : array of integer;
|
||||||
arr3 : array[,] of integer := ((1,2),(3,4));
|
arr3 : array[,] of integer := ((1,2),(3,4));
|
||||||
|
|
@ -17,10 +18,7 @@ arr4 := Copy(arr3);
|
||||||
assert(arr4[1,0]=3);
|
assert(arr4[1,0]=3);
|
||||||
arr4[1,0] := 7;
|
arr4[1,0] := 7;
|
||||||
assert(arr3[1,0]=3);
|
assert(arr3[1,0]=3);
|
||||||
if (System.Environment.OSVersion.Platform <> System.PlatformID.Unix) and (System.Environment.OSVersion.Platform <> System.PlatformID.MacOSX) then
|
arr6 := Copy(arr5);
|
||||||
begin
|
assert(arr6[0]=@i);
|
||||||
arr6 := Copy(arr5);
|
|
||||||
assert(arr6[0]=@i);
|
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//winonly
|
||||||
unit u_copyarr1;
|
unit u_copyarr1;
|
||||||
var arr : array of integer := (1,2,3);
|
var arr : array of integer := (1,2,3);
|
||||||
arr2 : array of integer;
|
arr2 : array of integer;
|
||||||
|
|
@ -18,9 +19,6 @@ arr4 := Copy(arr3);
|
||||||
assert(arr4[1,0]=3);
|
assert(arr4[1,0]=3);
|
||||||
arr4[1,0] := 7;
|
arr4[1,0] := 7;
|
||||||
assert(arr3[1,0]=3);
|
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);
|
arr6 := Copy(arr5);
|
||||||
assert(arr6[0]=@i);
|
assert(arr6[0]=@i);
|
||||||
end;
|
|
||||||
end.
|
end.
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
|
//winonly
|
||||||
uses u_copyarr1; begin end.
|
uses u_copyarr1; begin end.
|
||||||
Loading…
Reference in a new issue