Browse Source

* disable alglib tests on architectures without hardware fpu, they take too much time

git-svn-id: trunk@20492 -
florian 13 years ago
parent
commit
6b94087dd4

+ 7 - 0
tests/test/alglib/t_testconvunit.pp

@@ -1,4 +1,6 @@
 { %opt=-Mdelphi -Sa }
 { %opt=-Mdelphi -Sa }
+{ don't run this test when no hardware fpu is available, it would take a lot of time }
+{$ifndef FPUSOFT}
 program t_testconvunit;
 program t_testconvunit;
 uses Sysutils, u_testconvunit;
 uses Sysutils, u_testconvunit;
 
 
@@ -17,3 +19,8 @@ begin
     end;
     end;
     Halt(0);
     Halt(0);
 end.
 end.
+{$else FPUSOFT}
+begin
+end.
+{$endif FPUSOFT}
+

+ 7 - 0
tests/test/alglib/t_testcorrunit.pp

@@ -1,4 +1,6 @@
 { %opt=-Mdelphi -Sa }
 { %opt=-Mdelphi -Sa }
+{ don't run this test when no hardware fpu is available, it would take a lot of time }
+{$ifndef FPUSOFT}
 program t_testcorrunit;
 program t_testcorrunit;
 uses Sysutils, u_testcorrunit;
 uses Sysutils, u_testcorrunit;
 
 
@@ -17,3 +19,8 @@ begin
     end;
     end;
     Halt(0);
     Halt(0);
 end.
 end.
+{$else FPUSOFT}
+begin
+end.
+{$endif FPUSOFT}
+

+ 7 - 0
tests/test/alglib/t_testfftunit.pp

@@ -1,4 +1,6 @@
 { %opt=-Mdelphi -Sa }
 { %opt=-Mdelphi -Sa }
+{ don't run this test when no hardware fpu is available, it would take a lot of time }
+{$ifndef FPUSOFT}
 program t_testfftunit;
 program t_testfftunit;
 uses Sysutils, u_testfftunit;
 uses Sysutils, u_testfftunit;
 
 
@@ -17,3 +19,8 @@ begin
     end;
     end;
     Halt(0);
     Halt(0);
 end.
 end.
+{$else FPUSOFT}
+begin
+end.
+{$endif FPUSOFT}
+

+ 7 - 0
tests/test/alglib/t_testfhtunit.pp

@@ -1,4 +1,6 @@
 { %opt=-Mdelphi -Sa }
 { %opt=-Mdelphi -Sa }
+{ don't run this test when no hardware fpu is available, it would take a lot of time }
+{$ifndef FPUSOFT}
 program t_testfhtunit;
 program t_testfhtunit;
 uses Sysutils, u_testfhtunit;
 uses Sysutils, u_testfhtunit;
 
 
@@ -17,3 +19,8 @@ begin
     end;
     end;
     Halt(0);
     Halt(0);
 end.
 end.
+{$else FPUSOFT}
+begin
+end.
+{$endif FPUSOFT}
+