summaryrefslogtreecommitdiff
path: root/libs/system/test/Jamfile.v2
diff options
context:
space:
mode:
authorMyoungJune Park <mj2004.park@samsung.com>2017-12-12 00:34:12 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-12-12 00:34:12 +0000
commit2ab0cbf4ec245d3fa9fe7a84f5b33a68fb7e2634 (patch)
tree2c5492193391766d93e7b2bdcca24ffdeac5d971 /libs/system/test/Jamfile.v2
parente25981c0660b336901b493d886df877bf38565d9 (diff)
parent478965830fb46d8657e788cda69eec06532831a4 (diff)
downloadboost-submit/tizen/20180306.073050.tar.gz
boost-submit/tizen/20180306.073050.tar.bz2
boost-submit/tizen/20180306.073050.zip
Merge changes If2c80731,I845d4c63,Ied0dae31 into tizensubmit/tizen/20180614.070240submit/tizen/20180306.073050
* changes: Bump to boost 1.65.1 Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/upstream/boost into tizen Rebase for boot 1.65.1
Diffstat (limited to 'libs/system/test/Jamfile.v2')
-rw-r--r--libs/system/test/Jamfile.v268
1 files changed, 67 insertions, 1 deletions
diff --git a/libs/system/test/Jamfile.v2 b/libs/system/test/Jamfile.v2
index 024cb88b5e..77e7ca650c 100644
--- a/libs/system/test/Jamfile.v2
+++ b/libs/system/test/Jamfile.v2
@@ -7,6 +7,7 @@
# See library home page at http://www.boost.org/libs/system
+import testing ;
project
: requirements
@@ -19,7 +20,42 @@ project
: <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
<link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
;
-
+
+ rule cxx03 ( properties * )
+ {
+ local result ;
+
+ if <toolset>gcc in $(properties) || <toolset>clang in $(properties)
+ {
+ result = <cxxflags>-std=c++03 ;
+ }
+ else
+ {
+ result = <build>no ;
+ }
+
+ return $(result) ;
+ }
+
+ rule cxx11 ( properties * )
+ {
+ local result ;
+
+ if <toolset-gcc:version>4.6 in $(properties)
+ {
+ result = <cxxflags>-std=c++0x ;
+ }
+ else if <toolset>gcc in $(properties) || <toolset>clang in $(properties)
+ {
+ result = <cxxflags>-std=c++11 ;
+ }
+ else
+ {
+ result = <build>no ;
+ }
+
+ return $(result) ;
+ }
test-suite "system"
: [ run error_code_test.cpp
@@ -31,6 +67,18 @@ project
[ run error_code_test.cpp
: : : <link>shared : error_code_test_shared
]
+ [ run error_code_test.cpp
+ : : : <link>static <conditional>@cxx03 : error_code_test_03
+ ]
+ [ run error_code_test.cpp
+ : : : <link>shared <conditional>@cxx03 : error_code_test_shared_03
+ ]
+ [ run error_code_test.cpp
+ : : : <link>static <conditional>@cxx11 : error_code_test_11
+ ]
+ [ run error_code_test.cpp
+ : : : <link>shared <conditional>@cxx11 : error_code_test_shared_11
+ ]
[ run error_code_user_test.cpp
: : : <link>static
]
@@ -55,4 +103,22 @@ project
[ run config_test.cpp
: : : <test-info>always_show_run_output
]
+ [ run std_interop_test.cpp
+ : : : <link>static
+ ]
+ [ run std_interop_test.cpp
+ : : : <link>shared : std_interop_test_shared
+ ]
+ [ run std_mismatch_test.cpp
+ : : : <link>static <conditional>@cxx03 : std_mismatch_test_03
+ ]
+ [ run std_mismatch_test.cpp
+ : : : <link>shared <conditional>@cxx03 : std_mismatch_test_shared_03
+ ]
+ [ run std_mismatch_test.cpp
+ : : : <link>static <conditional>@cxx11 : std_mismatch_test_11
+ ]
+ [ run std_mismatch_test.cpp
+ : : : <link>shared <conditional>@cxx11 : std_mismatch_test_shared_11
+ ]
;