#============================================================================== # Copyright (c) 2001-2009 Joel de Guzman # Copyright (c) 2001-2009 Hartmut Kaiser # Copyright (c) 2017-2019 Nikita Kniazev # # Use, modification and distribution is subject to 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) #============================================================================== local 9-11 = 9 10 11 ; project spirit_v2_repository/test : requirements . 300 hide,gcc-$(9-11):-Wno-deprecated-copy # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94492 # Suppress C++03 deprecation warnings from other libraries BOOST_BIND_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_HASH_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_ENDIAN_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_FUNCTION_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_SMART_PTR_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_SYSTEM_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_TYPEOF_DETAIL_REQUIRES_CXX11_HPP_INCLUDED BOOST_UNORDERED_DETAIL_REQUIRES_CXX11_HPP_INCLUDED : : ; ############################################################################### alias qi-pch : : on-spirit:../../test/qi//pch ; alias ka-pch : : on-spirit:../../test/karma//pch ; explicit qi-pch ka-pch ; ############################################################################### import os ; local keywords_reqs ; if [ os.environ APPVEYOR ] { # Workaround MSVC codegen bug. See #400 for the info. keywords_reqs = msvc-14.1:off ; } # bring in rules for testing import testing ; { test-suite spirit_v2_repository : # run Qi repository tests [ run qi-pch qi/advance.cpp : : : : qi_repo_advance ] [ run qi-pch qi/confix.cpp : : : : qi_repo_confix ] [ run qi-pch qi/distinct.cpp : : : : qi_repo_distinct ] [ run qi-pch qi/subrule.cpp : : : : qi_repo_subrule ] [ run qi-pch qi/keywords.cpp : : : $(keywords_reqs) : qi_repo_keywords ] [ run qi-pch qi/seek.cpp : : : : qi_repo_seek ] # run Karma repository tests [ run ka-pch karma/confix.cpp : : : : karma_repo_confix ] [ run ka-pch karma/subrule.cpp : : : : karma_repo_subrule ] ; }