Browse Source

Extend list of CPUs defining slowcpu conditional in tmt1 and tw8177 sources

git-svn-id: trunk@48816 -
pierre 4 years ago
parent
commit
58171b4308
2 changed files with 3 additions and 6 deletions
  1. 2 2
      tests/test/tmt1.pp
  2. 1 4
      tests/webtbs/tw8177.pp

+ 2 - 2
tests/test/tmt1.pp

@@ -11,9 +11,9 @@ uses
   ;
 
 const
-{$ifdef cpuarm}
+{$if defined(cpuarm) or defined(cpuavr) or defined(cpui8086) or defined(cpum68k) or defined(cpumips) or defined(cpuz80)}
   {$define slowcpu}
-{$endif cpuarm}
+{$endif}
 
 {$ifdef slowcpu}
    threadcount = 40;

+ 1 - 4
tests/webtbs/tw8177.pp

@@ -6,10 +6,7 @@ program ValidateStrToInt;
   {$mode delphi}
 {$ENDIF}
 
-{$ifdef cpuarm}
-  {$define slowcpu}
-{$endif}
-{$ifdef cpumips}
+{$if defined(cpuarm) or defined(cpuavr) or defined(cpui8086) or defined(cpum68k) or defined(cpumips) or defined(cpuz80)}
   {$define slowcpu}
 {$endif}
 {$ifdef android}