We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
llvm_out
1 parent 7fb4512 commit 63cc3c7Copy full SHA for 63cc3c7
src/bootstrap/src/core/builder/tests.rs
@@ -524,6 +524,23 @@ mod dist {
524
);
525
}
526
527
+ #[test]
528
+ fn llvm_out_behaviour() {
529
+ let mut config = configure(&["A"], &["B"]);
530
+ config.llvm_from_ci = true;
531
+ let build = Build::new(config.clone());
532
+
533
+ let target = TargetSelection::from_user("A");
534
+ assert!(build.llvm_out(target).ends_with("ci-llvm"));
535
+ let target = TargetSelection::from_user("B");
536
+ assert!(build.llvm_out(target).ends_with("llvm"));
537
538
+ config.llvm_from_ci = false;
539
540
541
542
+ }
543
544
#[test]
545
fn build_with_empty_host() {
546
let config = configure(&[], &["C"]);
0 commit comments