From 448798cf7bdc09c636d547dcf65c68f4c90ccf92 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 26 Jun 2016 20:28:05 +0100 Subject: [PATCH 1/2] Move all hash tests into a single directory. --- hash/test/Jamfile.v2 | 1 + hash/test/{extra => }/check_float_funcs.cpp | 0 hash/test/extra/Jamfile.v2 | 13 ------------- 3 files changed, 1 insertion(+), 13 deletions(-) rename hash/test/{extra => }/check_float_funcs.cpp (100%) delete mode 100644 hash/test/extra/Jamfile.v2 diff --git a/hash/test/Jamfile.v2 b/hash/test/Jamfile.v2 index 2767bf3..96f2839 100644 --- a/hash/test/Jamfile.v2 +++ b/hash/test/Jamfile.v2 @@ -19,6 +19,7 @@ project hash-tests test-suite functional/hash : + [ compile check_float_funcs.cpp ] [ run hash_fwd_test_1.cpp ] [ run hash_fwd_test_2.cpp ] [ run hash_number_test.cpp ] diff --git a/hash/test/extra/check_float_funcs.cpp b/hash/test/check_float_funcs.cpp similarity index 100% rename from hash/test/extra/check_float_funcs.cpp rename to hash/test/check_float_funcs.cpp diff --git a/hash/test/extra/Jamfile.v2 b/hash/test/extra/Jamfile.v2 deleted file mode 100644 index 243c1b1..0000000 --- a/hash/test/extra/Jamfile.v2 +++ /dev/null @@ -1,13 +0,0 @@ - -# Copyright 2012 Daniel James. -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -import testing ; - -build-project .. ; - -test-suite functional/hash/config - : - [ compile check_float_funcs.cpp ] - ; \ No newline at end of file From 815fc115a0e9b20327f9b10d1cd3c07c90c9e670 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 3 Jul 2016 08:47:14 +0100 Subject: [PATCH 2/2] Always specify standard version. --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4ea774d..7e611e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,19 +17,19 @@ addons: matrix: include: - compiler: gcc - env: BJAM_TOOLSET=gcc + env: BJAM_TOOLSET=gcc-std03 - compiler: gcc env: BJAM_TOOLSET=gcc-std11 - compiler: clang - env: BJAM_TOOLSET=clang + env: BJAM_TOOLSET=clang-std03 - compiler: clang env: BJAM_TOOLSET=clang-std11 before_script: - | - echo "using gcc : : g++-4.8 ;" > ~/user-config.jam + echo "using gcc : std03 : g++-4.8 --std=c++03 ;" > ~/user-config.jam echo "using gcc : std11 : g++-4.8 --std=c++11 ;" >> ~/user-config.jam - echo "using clang : : clang++ ;" >> ~/user-config.jam + echo "using clang : std03 : clang++ --std=c++03 ;" >> ~/user-config.jam echo "using clang : std11 : clang++ --std=c++11 ;" >> ~/user-config.jam - cat ~/user-config.jam - touch Jamroot.jam