@@ -83,117 +83,117 @@ impl fmt::Display for Mode {
83
83
84
84
#[ derive( Clone ) ]
85
85
pub struct Config {
86
- // The library paths required for running the compiler
86
+ /// The library paths required for running the compiler
87
87
pub compile_lib_path : PathBuf ,
88
88
89
- // The library paths required for running compiled programs
89
+ /// The library paths required for running compiled programs
90
90
pub run_lib_path : PathBuf ,
91
91
92
- // The rustc executable
92
+ /// The rustc executable
93
93
pub rustc_path : PathBuf ,
94
94
95
- // The rustdoc executable
95
+ /// The rustdoc executable
96
96
pub rustdoc_path : Option < PathBuf > ,
97
97
98
- // The python executable to use for LLDB
98
+ /// The python executable to use for LLDB
99
99
pub lldb_python : String ,
100
100
101
- // The python executable to use for htmldocck
101
+ /// The python executable to use for htmldocck
102
102
pub docck_python : String ,
103
103
104
- // The llvm FileCheck binary path
104
+ /// The llvm FileCheck binary path
105
105
pub llvm_filecheck : Option < PathBuf > ,
106
106
107
- // The valgrind path
107
+ /// The valgrind path
108
108
pub valgrind_path : Option < String > ,
109
109
110
- // Whether to fail if we can't run run-pass-valgrind tests under valgrind
111
- // (or, alternatively, to silently run them like regular run-pass tests).
110
+ /// Whether to fail if we can't run run-pass-valgrind tests under valgrind
111
+ /// (or, alternatively, to silently run them like regular run-pass tests).
112
112
pub force_valgrind : bool ,
113
113
114
- // The directory containing the tests to run
114
+ /// The directory containing the tests to run
115
115
pub src_base : PathBuf ,
116
116
117
- // The directory where programs should be built
117
+ /// The directory where programs should be built
118
118
pub build_base : PathBuf ,
119
119
120
- // The name of the stage being built (stage1, etc)
120
+ /// The name of the stage being built (stage1, etc)
121
121
pub stage_id : String ,
122
122
123
- // The test mode, compile-fail, run-fail, run-pass
123
+ /// The test mode, compile-fail, run-fail, run-pass
124
124
pub mode : Mode ,
125
125
126
- // Run ignored tests
126
+ /// Run ignored tests
127
127
pub run_ignored : bool ,
128
128
129
- // Only run tests that match this filter
129
+ /// Only run tests that match this filter
130
130
pub filter : Option < String > ,
131
131
132
- // Exactly match the filter, rather than a substring
132
+ /// Exactly match the filter, rather than a substring
133
133
pub filter_exact : bool ,
134
134
135
- // Write out a parseable log of tests that were run
135
+ /// Write out a parseable log of tests that were run
136
136
pub logfile : Option < PathBuf > ,
137
137
138
- // A command line to prefix program execution with,
139
- // for running under valgrind
138
+ /// A command line to prefix program execution with,
139
+ /// for running under valgrind
140
140
pub runtool : Option < String > ,
141
141
142
- // Flags to pass to the compiler when building for the host
142
+ /// Flags to pass to the compiler when building for the host
143
143
pub host_rustcflags : Option < String > ,
144
144
145
- // Flags to pass to the compiler when building for the target
145
+ /// Flags to pass to the compiler when building for the target
146
146
pub target_rustcflags : Option < String > ,
147
147
148
- // Target system to be tested
148
+ /// Target system to be tested
149
149
pub target : String ,
150
150
151
- // Host triple for the compiler being invoked
151
+ /// Host triple for the compiler being invoked
152
152
pub host : String ,
153
153
154
- // Path to / name of the GDB executable
154
+ /// Path to / name of the GDB executable
155
155
pub gdb : Option < String > ,
156
156
157
- // Version of GDB, encoded as ((major * 1000) + minor) * 1000 + patch
157
+ /// Version of GDB, encoded as ((major * 1000) + minor) * 1000 + patch
158
158
pub gdb_version : Option < u32 > ,
159
159
160
- // Whether GDB has native rust support
160
+ /// Whether GDB has native rust support
161
161
pub gdb_native_rust : bool ,
162
162
163
- // Version of LLDB
163
+ /// Version of LLDB
164
164
pub lldb_version : Option < String > ,
165
165
166
- // Version of LLVM
166
+ /// Version of LLVM
167
167
pub llvm_version : Option < String > ,
168
168
169
- // Is LLVM a system LLVM
169
+ /// Is LLVM a system LLVM
170
170
pub system_llvm : bool ,
171
171
172
- // Path to the android tools
172
+ /// Path to the android tools
173
173
pub android_cross_path : PathBuf ,
174
174
175
- // Extra parameter to run adb on arm-linux-androideabi
175
+ /// Extra parameter to run adb on arm-linux-androideabi
176
176
pub adb_path : String ,
177
177
178
- // Extra parameter to run test suite on arm-linux-androideabi
178
+ /// Extra parameter to run test suite on arm-linux-androideabi
179
179
pub adb_test_dir : String ,
180
180
181
- // status whether android device available or not
181
+ /// status whether android device available or not
182
182
pub adb_device_status : bool ,
183
183
184
- // the path containing LLDB's Python module
184
+ /// the path containing LLDB's Python module
185
185
pub lldb_python_dir : Option < String > ,
186
186
187
- // Explain what's going on
187
+ /// Explain what's going on
188
188
pub verbose : bool ,
189
189
190
- // Print one character per test instead of one line
190
+ /// Print one character per test instead of one line
191
191
pub quiet : bool ,
192
192
193
- // Whether to use colors in test.
193
+ /// Whether to use colors in test.
194
194
pub color : ColorConfig ,
195
195
196
- // where to find the remote test client process, if we're using it
196
+ /// where to find the remote test client process, if we're using it
197
197
pub remote_test_client : Option < PathBuf > ,
198
198
199
199
// Configuration for various run-make tests frobbing things like C compilers
0 commit comments