浏览代码

* Fixed the test for android.

git-svn-id: branches/targetandroid@23232 -
yury 12 年之前
父节点
当前提交
17c9af9ec8
共有 1 个文件被更改,包括 3 次插入1 次删除
  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);