@@ -205,6 +205,8 @@ pub struct TestProps {
205
205
pub dont_require_annotations : HashSet < ErrorKind > ,
206
206
/// Whether pretty printers should be disabled in gdb.
207
207
pub disable_gdb_pretty_printers : bool ,
208
+ /// Whether to use the parallel front end.
209
+ pub parallel_front_end : bool ,
208
210
}
209
211
210
212
mod directives {
@@ -254,6 +256,7 @@ mod directives {
254
256
// This isn't a real directive, just one that is probably mistyped often
255
257
pub const INCORRECT_COMPILER_FLAGS : & ' static str = "compiler-flags" ;
256
258
pub const DISABLE_GDB_PRETTY_PRINTERS : & ' static str = "disable-gdb-pretty-printers" ;
259
+ pub const PARALLEL_FRONT_END : & ' static str = "parallel-front-end" ;
257
260
}
258
261
259
262
impl TestProps {
@@ -310,6 +313,7 @@ impl TestProps {
310
313
add_core_stubs : false ,
311
314
dont_require_annotations : Default :: default ( ) ,
312
315
disable_gdb_pretty_printers : false ,
316
+ parallel_front_end : false ,
313
317
}
314
318
}
315
319
@@ -664,6 +668,7 @@ impl TestProps {
664
668
DISABLE_GDB_PRETTY_PRINTERS ,
665
669
& mut self . disable_gdb_pretty_printers ,
666
670
) ;
671
+ config. set_name_directive ( ln, PARALLEL_FRONT_END , & mut self . parallel_front_end ) ;
667
672
} ,
668
673
) ;
669
674
0 commit comments