2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-11 11:52:17 +00:00
Files
json/test/Jamfile
Vinnie Falco 83778c5005 doc work
2019-11-14 15:56:03 -08:00

62 lines
1.3 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/vinniefalco/json
#
import testing ;
import ../../config/checks/config : requires ;
local SOURCES =
array.cpp
assign_string.cpp
assign_vector.cpp
basic_parser.cpp
block_storage.cpp
error.cpp
json.cpp
kind.cpp
number.cpp
object.cpp
parser.cpp
serializer.cpp
storage.cpp
storage_ptr.cpp
string.cpp
value.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 : : :
<library>/boost/json//boost_json
] ;
}
for local f in $(LIMIT_SOURCES)
{
RUN_TESTS += [
run $(f) main.cpp ../src/src.cpp : : :
<define>BOOST_JSON_MAX_STRING_SIZE=1000
<define>BOOST_JSON_MAX_OBJECT_SIZE=30
<define>BOOST_JSON_MAX_ARRAY_SIZE=100
<define>BOOST_JSON_MAX_STACK_SIZE=1024
<define>BOOST_JSON_PARSER_BUFFER_SIZE=256
] ;
}
alias run-tests : $(RUN_TESTS) ;