]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/process/test/Jamfile.jam
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / process / test / Jamfile.jam
1 # Copyright (c) 2006, 2007 Julio M. Merino Vidal
2 # Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
3 # Copyright (c) 2009 Boris Schaeling
4 # Copyright (c) 2010 Felipe Tanus, Boris Schaeling
5 # Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
6 # Copyright (c) 2016 Klemens D. Morgenstern
7 #
8 # Distributed under the Boost Software License, Version 1.0. (See accompanying
9 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
10
11
12 import os ;
13
14 if [ os.name ] = NT
15 {
16 lib ws2_32 ;
17 lib shell32 ;
18 }
19
20 project : requirements
21 <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
22 <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
23 <target-os>windows:<define>WIN32_LEAN_AND_MEAN
24 <target-os>linux:<linkflags>-lpthread
25 <os>NT,<toolset>cw:<library>ws2_32
26 <os>NT,<toolset>gcc:<library>ws2_32
27
28 ;
29
30
31
32 import testing ;
33
34
35 alias program_options : /boost//program_options : <link>static ;
36 alias filesystem : /boost//filesystem ;
37 alias iostreams : /boost//iostreams ;
38 alias system : /boost//system ;
39 alias thread : /boost//thread ;
40 alias coroutine : /boost//coroutine : <link>static ;
41
42 lib multi_ref : multi_ref1.cpp multi_ref2.cpp system : <target-os>windows:<source>shell32 ;
43
44 exe sparring_partner : sparring_partner.cpp program_options system filesystem iostreams :
45 <warnings>off <target-os>windows:<source>shell32
46 ;
47
48 exe sub_launch : sub_launcher.cpp program_options iostreams system filesystem : <warnings>off <target-os>windows:<source>shell32 ;
49
50 test-suite bare :
51 [ run environment.cpp system filesystem ]
52 [ run async_pipe.cpp system filesystem ]
53 [ run pipe.cpp system filesystem ]
54 ;
55
56 test-suite with-valgrind :
57 [ run async.cpp system thread filesystem : : sparring_partner ]
58 [ run async_fut.cpp system thread filesystem : : sparring_partner ]
59 [ run args_cmd.cpp system filesystem : : sparring_partner ]
60 [ run wargs_cmd.cpp system filesystem : : sparring_partner ]
61 [ run bind_stderr.cpp filesystem : : sparring_partner ]
62 [ run bind_stdin.cpp system filesystem : : sparring_partner ]
63 [ run bind_stdin_stdout.cpp system filesystem : : sparring_partner ]
64 [ run bind_stdout.cpp system filesystem : : sparring_partner ]
65 [ run bind_stdout_stderr.cpp system filesystem : : sparring_partner ]
66 [ run pipe_fwd.cpp system filesystem : : sparring_partner ]
67 [ run cmd_test.cpp system filesystem : : sparring_partner ]
68 [ run close_stderr.cpp system filesystem : : sparring_partner ]
69 [ run close_stdin.cpp system filesystem : : sparring_partner ]
70 [ run close_stdout.cpp system filesystem : : sparring_partner ]
71 [ run error.cpp system filesystem : : sparring_partner ]
72 [ run exit_code.cpp program_options system filesystem : : sparring_partner ]
73 [ run extensions.cpp system filesystem : : sparring_partner ]
74 [ run env.cpp program_options system filesystem : : sparring_partner ]
75 [ run group.cpp system thread filesystem : : sub_launch ]
76 [ run run_exe.cpp filesystem : : sparring_partner ]
77 [ run run_exe_path.cpp filesystem : : sparring_partner ]
78 [ run search_path.cpp filesystem system : : : <target-os>windows:<source>shell32 ]
79 [ run shell.cpp filesystem system : : sparring_partner ]
80 [ run shell_path.cpp filesystem system ]
81 [ run system_test1.cpp filesystem system : : sparring_partner ]
82 [ run system_test2.cpp filesystem system : : sparring_partner ]
83 [ run spawn.cpp filesystem system : : sparring_partner ]
84 [ run start_dir.cpp filesystem system : : sparring_partner ]
85 [ run terminate.cpp system filesystem : : sparring_partner ]
86 [ run throw_on_error.cpp system filesystem : : sparring_partner ]
87 [ run wait.cpp system filesystem : : sparring_partner ]
88 [ run wait_for.cpp system filesystem : : sparring_partner ]
89 [ run on_exit.cpp system filesystem : : sparring_partner ]
90 [ run on_exit2.cpp system filesystem : : sparring_partner ]
91 [ run on_exit3.cpp system filesystem : : sparring_partner ]
92 [ compile-fail spawn_fail.cpp ]
93 [ compile-fail async_system_fail.cpp ]
94 [ run posix_specific.cpp system filesystem : : sparring_partner : <build>no <target-os>linux:<build>yes ]
95 [ run windows_specific.cpp filesystem system : : sparring_partner : <build>no <target-os>windows:<build>yes ]
96 : <dependency>bare ;
97
98 test-suite without-valgrind :
99 [ run async_system.cpp filesystem system coroutine : : sparring_partner : <link>static ]
100 [ run async_system_future.cpp filesystem system coroutine : : sparring_partner : <link>static ]
101 [ run async_system_stackless.cpp filesystem system coroutine : : sparring_partner : <link>static ]
102 [ run vfork.cpp system filesystem : : sparring_partner : <build>no <target-os>linux:<build>yes ]
103 ;
104
105