diff --git a/tests/test/alglib/t_testconvunit.pp b/tests/test/alglib/t_testconvunit.pp index b02fd02b01..48da0f4475 100644 --- a/tests/test/alglib/t_testconvunit.pp +++ b/tests/test/alglib/t_testconvunit.pp @@ -1,4 +1,6 @@ { %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; uses Sysutils, u_testconvunit; @@ -17,3 +19,8 @@ begin end; Halt(0); end. +{$else FPUSOFT} +begin +end. +{$endif FPUSOFT} + diff --git a/tests/test/alglib/t_testcorrunit.pp b/tests/test/alglib/t_testcorrunit.pp index e647d784ed..1340915e1d 100644 --- a/tests/test/alglib/t_testcorrunit.pp +++ b/tests/test/alglib/t_testcorrunit.pp @@ -1,4 +1,6 @@ { %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; uses Sysutils, u_testcorrunit; @@ -17,3 +19,8 @@ begin end; Halt(0); end. +{$else FPUSOFT} +begin +end. +{$endif FPUSOFT} + diff --git a/tests/test/alglib/t_testfftunit.pp b/tests/test/alglib/t_testfftunit.pp index 0e55b08e5f..a60e354cc1 100644 --- a/tests/test/alglib/t_testfftunit.pp +++ b/tests/test/alglib/t_testfftunit.pp @@ -1,4 +1,6 @@ { %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; uses Sysutils, u_testfftunit; @@ -17,3 +19,8 @@ begin end; Halt(0); end. +{$else FPUSOFT} +begin +end. +{$endif FPUSOFT} + diff --git a/tests/test/alglib/t_testfhtunit.pp b/tests/test/alglib/t_testfhtunit.pp index 177dd88e55..b9510e17da 100644 --- a/tests/test/alglib/t_testfhtunit.pp +++ b/tests/test/alglib/t_testfhtunit.pp @@ -1,4 +1,6 @@ { %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; uses Sysutils, u_testfhtunit; @@ -17,3 +19,8 @@ begin end; Halt(0); end. +{$else FPUSOFT} +begin +end. +{$endif FPUSOFT} +