Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / preprocessor / test / Jamfile.v2
index e12d73a..fbda6c0 100644 (file)
@@ -3,6 +3,7 @@
 #~ (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 import testing ;
+import cast ;
 
 project preprocessor_tests : requirements <warnings>on
                                           <toolset>gcc-4.3.0:<warnings>all
@@ -210,8 +211,10 @@ alias preprocessor_isempty : :
 alias preprocessor_isempty
   :   
        [ compile isempty.cpp ]
+       [ compile checkempty.cpp ]
        [ compile-fail isempty_variadic_standard_failure.cpp : <define>BOOST_PP_VARIADICS=1 ]
        [ compile-fail isempty_variadic_standard_failure2.cpp : <define>BOOST_PP_VARIADICS=1 ]
+       [ compile vaopt.cpp ]
  ; 
   
 alias preprocessor_isempty_nvm
@@ -247,3 +250,15 @@ alias preprocessor_config
    :   
         [ run config_info.cpp ]
   ;
+  
+alias test_clang_cuda
+   :   
+        [ compile [ cast _ cpp : clang_cuda.cu ]
+          : <cxxflags>-nocudalib
+            <cxxflags>-nocudainc
+            <cxxflags>"-x cuda"
+          : clang_cuda_cu
+        ]
+  ;
+
+explicit test_clang_cuda ;