Browse Source

* Fixed the test for android.

git-svn-id: branches/targetandroid@23232 -
yury 12 years ago
parent
commit
17c9af9ec8
1 changed files with 3 additions and 1 deletions
  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);