@@ -205,6 +205,8 @@ pub struct TestProps {
205205 pub dont_require_annotations : HashSet < ErrorKind > ,
206206 /// Whether pretty printers should be disabled in gdb.
207207 pub disable_gdb_pretty_printers : bool ,
208+ /// Whether to use the parallel front end.
209+ pub parallel_front_end : bool ,
208210}
209211
210212mod directives {
@@ -254,6 +256,7 @@ mod directives {
254256 // This isn't a real directive, just one that is probably mistyped often
255257 pub const INCORRECT_COMPILER_FLAGS : & ' static str = "compiler-flags" ;
256258 pub const DISABLE_GDB_PRETTY_PRINTERS : & ' static str = "disable-gdb-pretty-printers" ;
259+ pub const PARALLEL_FRONT_END : & ' static str = "parallel-front-end" ;
257260}
258261
259262impl TestProps {
@@ -310,6 +313,7 @@ impl TestProps {
310313 add_core_stubs : false ,
311314 dont_require_annotations : Default :: default ( ) ,
312315 disable_gdb_pretty_printers : false ,
316+ parallel_front_end : false ,
313317 }
314318 }
315319
@@ -664,6 +668,7 @@ impl TestProps {
664668 DISABLE_GDB_PRETTY_PRINTERS ,
665669 & mut self . disable_gdb_pretty_printers ,
666670 ) ;
671+ config. set_name_directive ( ln, PARALLEL_FRONT_END , & mut self . parallel_front_end ) ;
667672 } ,
668673 ) ;
669674
0 commit comments