2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-19 14:52:17 +00:00

Remove nonconformant compiler test disablement

[SVN r27660]
This commit is contained in:
Michael Stevens
2005-03-15 08:47:30 +00:00
parent 3c384436de
commit 512c2357c5
14 changed files with 0 additions and 159 deletions

View File

@@ -16,22 +16,9 @@
#include "test1.hpp"
#ifdef BOOST_MSVC
// Standard new handler is not standard compliant.
#include <new.h>
int __cdecl std_new_handler (unsigned) {
throw std::bad_alloc ();
}
#endif
int main () {
#ifdef BOOST_MSVC
_set_new_handler (std_new_handler);
#endif
test_vector ();
test_matrix_vector ();
test_matrix ();
return 0;
}

View File

@@ -48,15 +48,4 @@ void test_matrix_vector ();
void test_matrix ();
// Disable some tests for truly broken compilers
// MSVC Version 6.0 & 7.0 have problems compiling with std::complex
#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300)
#undef USE_STD_COMPLEX
#endif
// Intel for Windows fails to link when a std::complex is returned!
#if defined(BOOST_INTEL_CXX_VERSION) && (BOOST_INTEL_CXX_VERSION <= 800) && defined(__ICL)
#undef USE_STD_COMPLEX
#endif
#endif

View File

@@ -16,21 +16,7 @@
#include "test2.hpp"
#ifdef BOOST_MSVC
// Standard new handler is not standard compliant.
#include <new.h>
int __cdecl std_new_handler (unsigned) {
throw std::bad_alloc ();
}
#endif
int main () {
#ifdef BOOST_MSVC
_set_new_handler (std_new_handler);
#endif
std::cout << "test_blas_1" << std::endl;
#ifdef USE_FLOAT
std::cout << "float" << std::endl;
test_blas_1<ublas::vector<float>, 3> () ();
@@ -103,4 +89,3 @@ int main () {
return 0;
}

View File

@@ -91,17 +91,4 @@ struct test_blas_3 {
};
// Disable some tests for truly broken compilers
// MSVC Version 6.0 & 7.0 have problems compiling with std::complex
#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300)
#undef USE_STD_COMPLEX
#endif
// Intel for Windows fails to link when a std::complex is returned!
#if defined(BOOST_INTEL_CXX_VERSION) && (BOOST_INTEL_CXX_VERSION <= 800) && defined(__ICL)
#undef USE_STD_COMPLEX
#endif
#endif

View File

@@ -16,21 +16,9 @@
#include "test3.hpp"
#ifdef BOOST_MSVC
// Standard new handler is not standard compliant.
#include <new.h>
int __cdecl std_new_handler (unsigned) {
throw std::bad_alloc ();
}
#endif
int main () {
#ifdef BOOST_MSVC
_set_new_handler (std_new_handler);
#endif
test_vector ();
test_matrix_vector ();
test_matrix ();
return 0;
}

View File

@@ -53,15 +53,4 @@ void test_vector ();
void test_matrix_vector ();
void test_matrix ();
// Disable some tests for truly broken compilers
// MSVC Version 6.0 & 7.0 have problems compiling with std::complex
#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300)
#undef USE_STD_COMPLEX
#endif
// Intel for Windows fails to link when a std::complex is returned!
#if defined(BOOST_INTEL_CXX_VERSION) && (BOOST_INTEL_CXX_VERSION <= 800) && defined(__ICL)
#undef USE_STD_COMPLEX
#endif
#endif

View File

@@ -16,20 +16,8 @@
#include "test4.hpp"
#ifdef BOOST_MSVC
// Standard new handler is not standard compliant.
#include <new.h>
int __cdecl std_new_handler (unsigned) {
throw std::bad_alloc ();
}
#endif
int main () {
#ifdef BOOST_MSVC
_set_new_handler (std_new_handler);
#endif
test_matrix_vector ();
test_matrix ();
return 0;
}

View File

@@ -58,15 +58,4 @@ void test_matrix ();
// FIXME slice are failing in assignment to zero elements
#undef USE_SLICE
// Disable some tests for truly broken compilers
// MSVC Version 6.0 & 7.0 have problems compiling with std::complex
#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300)
#undef USE_STD_COMPLEX
#endif
// Intel for Windows fails to link when a std::complex is returned!
#if defined(BOOST_INTEL_CXX_VERSION) && (BOOST_INTEL_CXX_VERSION <= 800) && defined(__ICL)
#undef USE_STD_COMPLEX
#endif
#endif

View File

@@ -16,20 +16,8 @@
#include "test5.hpp"
#ifdef BOOST_MSVC
// Standard new handler is not standard compliant.
#include <new.h>
int __cdecl std_new_handler (unsigned) {
throw std::bad_alloc ();
}
#endif
int main () {
#ifdef BOOST_MSVC
_set_new_handler (std_new_handler);
#endif
test_matrix_vector ();
test_matrix ();
return 0;
}

View File

@@ -75,15 +75,4 @@ void test_matrix ();
// FIXME slice are failing in assignment to zero elements
#undef USE_SLICE
// Disable some tests for truly broken compilers
// MSVC Version 6.0 & 7.0 have problems compiling with std::complex
#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300)
#undef USE_STD_COMPLEX
#endif
// Intel for Windows fails to link when a std::complex is returned!
#if defined(BOOST_INTEL_CXX_VERSION) && (BOOST_INTEL_CXX_VERSION <= 800) && defined(__ICL)
#undef USE_STD_COMPLEX
#endif
#endif

View File

@@ -16,20 +16,8 @@
#include "test6.hpp"
#ifdef BOOST_MSVC
// Standard new handler is not standard compliant.
#include <new.h>
int __cdecl std_new_handler (unsigned) {
throw std::bad_alloc ();
}
#endif
int main () {
#ifdef BOOST_MSVC
_set_new_handler (std_new_handler);
#endif
test_matrix_vector ();
test_matrix ();
return 0;
}

View File

@@ -73,15 +73,4 @@ void test_matrix_vector ();
void test_matrix ();
// Disable some tests for truly broken compilers
// MSVC Version 6.0 & 7.0 have problems compiling with std::complex
#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1300)
#undef USE_STD_COMPLEX
#endif
// Intel for Windows fails to link when a std::complex is returned!
#if defined(BOOST_INTEL_CXX_VERSION) && (BOOST_INTEL_CXX_VERSION <= 800) && defined(__ICL)
#undef USE_STD_COMPLEX
#endif
#endif

View File

@@ -25,22 +25,9 @@
#include "test7.hpp"
#ifdef BOOST_MSVC
// Standard new handler is not standard compliant.
#include <new.h>
int __cdecl std_new_handler (unsigned) {
throw std::bad_alloc ();
}
#endif
int main () {
#ifdef BOOST_MSVC
_set_new_handler (std_new_handler);
#endif
test_vector ();
test_matrix_vector ();
test_matrix ();
return 0;
}

View File

@@ -41,5 +41,3 @@ void test_matrix ();
#endif