Explorar o código

* Fixed the test for android.

git-svn-id: branches/targetandroid@23232 -
yury %!s(int64=13) %!d(string=hai) anos
pai
achega
17c9af9ec8
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      tests/test/units/dos/tdos2.pp

+ 3 - 1
tests/test/units/dos/tdos2.pp

@@ -247,7 +247,8 @@ Begin
  WriteLn('----------------------------------------------------------------------');
  WriteLn('----------------------------------------------------------------------');
 {$ifndef beos}
 {$ifndef beos}
 {$ifndef linux}
 {$ifndef linux}
- {This should be disabled under BeOS : maybe this is a BeOS bug (or a feature ?) 
+{$ifndef android}
+ {This should be disabled under BeOS : maybe this is a BeOS bug (or a feature ?)
   in stime function.
   in stime function.
   When you set 36 hours, the time AND the date are changed
   When you set 36 hours, the time AND the date are changed
   It seems it is a valid value under BeOS, but you have jump in the future :
   It seems it is a valid value under BeOS, but you have jump in the future :
@@ -260,6 +261,7 @@ Begin
  SetTime(36,Minute,Second,Sec100);
  SetTime(36,Minute,Second,Sec100);
  CheckDosError(0);
  CheckDosError(0);
 {$endif}
 {$endif}
+{$endif}
 {$endif}
 {$endif}
  GetTime(Hour1,Minute1,Second1,Sec1001);
  GetTime(Hour1,Minute1,Second1,Sec1001);
  CheckDosError(0);
  CheckDosError(0);