Skip to content

Commit

Permalink
Update build.jam, test/Jamfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Aug 23, 2024
1 parent e1398d7 commit 7e49e8f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
17 changes: 7 additions & 10 deletions build.jam
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
# Copyright René Ferdinand Rivera Morell 2023-2024
# Copyright 2023-2024 René Ferdinand Rivera Morell
# Copyright 2024 Peter Dimov
# 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)
# https://www.boost.org/LICENSE_1_0.txt

require-b2 5.2 ;

constant boost_dependencies :
/boost/assert//boost_assert
/boost/config//boost_config
/boost/throw_exception//boost_throw_exception
/boost/type_traits//boost_type_traits ;

project /boost/uuid
: common-requirements
<include>include
/boost/type_traits//boost_type_traits
;

project /boost/uuid ;

explicit
[ alias boost_uuid : : : : <library>$(boost_dependencies) ]
[ alias boost_uuid : : : : <include>include <library>$(boost_dependencies) ]
[ alias all : boost_uuid test ]
;

call-if : boost-library uuid
;

24 changes: 13 additions & 11 deletions test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@
project
: requirements
<warnings>pedantic
<library>/boost/array//boost_array
<library>/boost/uuid//boost_uuid
<library>/boost/core//boost_core
<library>/boost/container_hash//boost_container_hash
<library>/boost/predef//boost_predef
<library>/boost/random//boost_random
;

import os ;
Expand Down Expand Up @@ -59,8 +56,8 @@ run test_include1.cpp test_include2.cpp ;
# main tests

run test_uuid.cpp
: : : <define>BOOST_UUID_REPORT_IMPLEMENTATION ;
run test_uuid.cpp : : : <define>BOOST_UUID_NO_SIMD <define>BOOST_UUID_REPORT_IMPLEMENTATION : test_uuid_no_simd ;
: : : <library>/boost/container_hash//boost_container_hash <define>BOOST_UUID_REPORT_IMPLEMENTATION ;
run test_uuid.cpp : : : <library>/boost/container_hash//boost_container_hash <define>BOOST_UUID_NO_SIMD <define>BOOST_UUID_REPORT_IMPLEMENTATION : test_uuid_no_simd ;
run test_uuid_2.cpp ;
run test_uuid_3.cpp ;

Expand All @@ -80,7 +77,8 @@ run test_comparison.cpp : : : <define>BOOST_UUID_NO_SIMD <define>BOOST_UUID_REPO

# test uuid_io.hpp

run test_io.cpp : : : <library>/boost/lexical_cast//boost_lexical_cast ;
run test_io.cpp
: : : <library>/boost/lexical_cast//boost_lexical_cast <library>/boost/predef//boost_predef ;
run test_io_2.cpp ;
run test_to_chars.cpp ;
run test_to_chars_2.cpp ;
Expand All @@ -93,9 +91,11 @@ run test_uuid_clock.cpp ;

run test_nil_generator.cpp ;
run test_string_generator.cpp ;
run test_random_generator.cpp ;
run test_random_generator.cpp
: : : <library>/boost/random//boost_random <library>/boost/predef//boost_predef ;

run test_name_generator.cpp ;
run test_name_generator.cpp
: : : <library>/boost/predef//boost_predef ;
run test_namespaces.cpp ;
run test_name_generator_md5.cpp ;
run test_name_generator_sha1.cpp ;
Expand Down Expand Up @@ -150,7 +150,8 @@ run test_uuid_in_map.cpp ;

# test hashing support

run test_hash.cpp ;
run test_hash.cpp
: : : <library>/boost/container_hash//boost_container_hash ;
run test_hash_value.cpp ;

run test_std_unordered.cpp ;
Expand Down Expand Up @@ -182,7 +183,8 @@ run test_bench_random.cpp /boost/timer//boost_timer : : : <toolset>clang-cloudab
# tests for the header-only random provider

run test_entropy_error.cpp ;
run test_detail_random_provider.cpp ;
run test_detail_random_provider.cpp
: : : <library>/boost/array//boost_array ;

# 'quick' test for CI

Expand Down

0 comments on commit 7e49e8f

Please sign in to comment.