2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-09 11:12:37 +00:00
Files
json/test/Jamfile
Krystian Stasiowski 7e7155de59 parser members don't throw, and tidy:
* parser members do not throw
* parse free functions are in parse.hpp

fix #199. close #201
2020-08-24 16:30:48 -07:00

86 lines
1.7 KiB
Plaintext

#
# Copyright (c) 2013-2019 Vinnie Falco (vinnie.falco@gmail.com)
#
# 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)
#
# Official repository: https://github.com/cppalliance/json
#
import testing ;
import ../../config/checks/config : requires ;
import os ;
STANDALONE = [ os.environ STANDALONE ] ;
if $(STANDALONE)
{
LIB =
<define>BOOST_JSON_STANDALONE=1
<source>../src/src.cpp
;
}
else
{
LIB = <library>/boost/json//boost_json ;
}
local SOURCES =
array.cpp
basic_parser.cpp
error.cpp
except.cpp
json.cpp
kind.cpp
memory_resource.cpp
monotonic_resource.cpp
number_cast.cpp
object.cpp
parse.cpp
parser.cpp
pilfer.cpp
serializer.cpp
snippets.cpp
storage_ptr.cpp
string.cpp
string_view.cpp
system_error.cpp
value.cpp
value_builder.cpp
value_from.cpp
value_to.cpp
value_ref.cpp
ryu/d2s_intrinsics_test.cpp
ryu/d2s_table_test.cpp
ryu/d2s_test.cpp
;
local LIMIT_SOURCES =
limits.cpp
;
local RUN_TESTS ;
for local f in $(SOURCES)
{
RUN_TESTS += [
run $(f) main.cpp : : :
$(LIB)
<include>.
] ;
}
for local f in $(LIMIT_SOURCES)
{
RUN_TESTS += [
run $(f) main.cpp : : :
<source>../src/src.cpp
<include>.
<define>BOOST_JSON_MAX_STRING_SIZE=1000
<define>BOOST_JSON_MAX_STRUCTURED_SIZE=20
<define>BOOST_JSON_MAX_STACK_SIZE=1024
<define>BOOST_JSON_PARSER_BUFFER_SIZE=256
] ;
}
alias run-tests : $(RUN_TESTS) ;