]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/math/test/compile_test/generate.sh
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / math / test / compile_test / generate.sh
1 for file in ../../../../boost/math/tools/*.hpp; do
2 cat > tools_$(basename $file .hpp)_inc_test.cpp << EOF;
3 // Copyright John Maddock 2006.
4 // Use, modification and distribution are subject to the
5 // Boost Software License, Version 1.0. (See accompanying file
6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 //
8 // Basic sanity check that header <boost/math/tools/$(basename $file)>
9 // #includes all the files that it needs to.
10 //
11 #include <boost/math/tools/$(basename $file .hpp).hpp>
12
13 EOF
14 done
15
16 for file in ../../../../boost/math/distributions/*.hpp; do
17 cat > dist_$(basename $file .hpp)_incl_test.cpp << EOF;
18 // Copyright John Maddock 2006.
19 // Use, modification and distribution are subject to the
20 // Boost Software License, Version 1.0. (See accompanying file
21 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
22 //
23 // Basic sanity check that header <boost/math/distributions/$(basename $file)>
24 // #includes all the files that it needs to.
25 //
26 #include <boost/math/distributions/$(basename $file .hpp).hpp>
27
28 EOF
29 done
30
31 for file in ../../../../boost/math/special_functions/*.hpp; do
32 cat > sf_$(basename $file .hpp)_incl_test.cpp << EOF;
33 // Copyright John Maddock 2006.
34 // Use, modification and distribution are subject to the
35 // Boost Software License, Version 1.0. (See accompanying file
36 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
37 //
38 // Basic sanity check that header <boost/math/special_functions/$(basename $file)>
39 // #includes all the files that it needs to.
40 //
41 #include <boost/math/special_functions/$(basename $file .hpp).hpp>
42
43 EOF
44 done
45
46