Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/numeric/ublas/test/Jamfile @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 4.3 KB
Line 
1#
2#   Copyright (c) 2000-2002
3#   Joerg Walter, Mathias Koch
4#
5#   Permission to use, copy, modify, distribute and sell this software
6#   and its documentation for any purpose is hereby granted without fee,
7#   provided that the above copyright notice appear in all copies and
8#   that both that copyright notice and this permission notice appear
9#   in supporting documentation.  The authors make no representations
10#   about the suitability of this software for any purpose.
11#   It is provided "as is" without express or implied warranty.
12#
13#   The authors gratefully acknowledge the support of
14#   GeNeSys mbH & Co. KG in producing this work.
15#
16
17subproject libs/numeric/ublas/test ;
18# bring in rules for testing
19import testing ;
20
21# Define features to test:
22#  Value types: USE_FLOAT USE_DOUBLE USE_STD_COMPLEX
23#  Proxies: USE_RANGE USE_SLICE
24#  Storage types: USE_BOUNDED_ARRAY USE_UNBOUNDED_ARRAY
25#  Vector types: USE_STD_VECTOR USE_BOUNDED_VECTOR
26#  Matrix types: USE_MATRIX USE_BOUNDED_MATRIX USE_VECTOR_OF_VECTOR
27#  Adaptors: USE_ADAPTOR
28
29UBLAS_TESTSET ?=
30            USE_DOUBLE USE_STD_COMPLEX
31            USE_RANGE USE_SLICE
32            USE_UNBOUNDED_ARRAY USE_BOUNDED_VECTOR USE_MATRIX ;
33
34#  Sparse storage: USE_MAP_ARRAY USE_STD_MAP
35#  Sparse vectors: USE_MAPPED_VECTOR USE_COMPRESSED_VECTOR USE_COORDINATE_VECTOR
36#  Sparse matrices: USE_MAPPED_MATRIX USE_COMPRESSED_MATRIX USE_COORDINATE_MATRIX USE_MAPPED_VECTOR_OF_MAPPED_VECTOR USE_GENERALIZED_VECTOR_OF_VECTOR
37
38UBLAS_TESTSET_SPARSE ?=
39            USE_DOUBLE USE_STD_COMPLEX
40#            USE_RANGE USE_SLICE    Too complex for regression testing
41            USE_UNBOUNDED_ARRAY
42            USE_STD_MAP
43            USE_MAPPED_VECTOR USE_COMPRESSED_VECTOR USE_COORDINATE_VECTOR
44            USE_MAPPED_MATRIX USE_COMPRESSED_MATRIX USE_COORDINATE_MATRIX ;
45
46
47test-suite numeric/uBLAS
48    : [ run test1/test1.cpp
49            test1/test11.cpp
50            test1/test12.cpp
51            test1/test13.cpp
52        : # args
53        : # input files
54        : # requirements
55            <define>$(UBLAS_TESTSET)
56            <intel-linux><*><cxxflags>"-fpstkchk"    # Try and pick up runtime failures
57            <vacpp><*><define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
58            [ cond [ is-subset Darwin : $(JAMUNAME) ] : <gcc><*><cxxflags>"-fabi-version=0" ] ]
59      [ run test2/test2.cpp
60            test2/test21.cpp
61            test2/test22.cpp
62            test2/test23.cpp
63        : # args
64        : # input files
65        : # requirements
66            <define>$(UBLAS_TESTSET)
67            <vacpp><*><define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
68      ]
69      [ run test3/test3.cpp
70            test3/test31.cpp
71            test3/test32.cpp
72            test3/test33.cpp
73        : # args
74        : # input files
75        : # requirements
76            <define>$(UBLAS_TESTSET_SPARSE)
77            <vacpp><*><define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
78      ]
79      [ run test4/test4.cpp
80            test4/test42.cpp
81            test4/test43.cpp
82        : # args
83        : # input files
84        : # requirements
85            <define>$(UBLAS_TESTSET)
86            <vacpp><*><define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
87      ]
88      [ run test5/test5.cpp
89            test5/test52.cpp
90            test5/test53.cpp
91        : # args
92        : # input files
93        : # requirements
94            <define>$(UBLAS_TESTSET)
95            <vacpp><*><define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
96      ]
97      [ run test6/test6.cpp
98            test6/test62.cpp
99            test6/test63.cpp
100        : # args
101        : # input files
102        : # requirements
103            <define>$(UBLAS_TESTSET)
104            <vacpp><*><define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
105      ]
106# Test7 checks uBLAS operation with interval types.
107# This causes too much compiler badness. Issues need to be addressed for VC7.1 VC8 CW9 and Intel 8 (windows)
108#      [ run test7/test7.cpp
109#            test7/test71.cpp
110#            test7/test72.cpp
111#            test7/test73.cpp
112#        : # args
113#        : # input files
114#        : # requirements
115#            <define>BOOST_UBLAS_USE_INTERVAL
116#            <define>$(UBLAS_TESTSET)
117#            <vacpp><*><define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
118#      ]
119
120      [ run placement_new.cpp
121      ]
122      [ compile concepts.cpp
123        : # requirements
124            <define>EXTERNAL
125            <intel-linux><*><cxxflags>"-Xc"
126            <vacpp><*><define>"BOOST_UBLAS_NO_ELEMENT_PROXIES"
127      ]
128    ;
Note: See TracBrowser for help on using the repository browser.