fix #71363 test by adding -Z translate-remapped-path-to-local-path=no

The test relies on library/std/src/error.rs not corresponding to a local
path, but remapping might still find the related local file of a
remapped path. To fix the test, this adds a new -Z flag to disable
finding the corresponding local path of a remapped path.
This commit is contained in:
Pietro Albini 2022-06-06 11:54:01 +02:00
parent 6609c6734d
commit 410e2832e4
No known key found for this signature in database
GPG key ID: CD76B35F7734769E
5 changed files with 22 additions and 8 deletions

View file

@ -790,6 +790,7 @@ fn test_debugging_options_tracking_hash() {
tracked!(thinlto, Some(true));
tracked!(thir_unsafeck, true);
tracked!(tls_model, Some(TlsModel::GeneralDynamic));
tracked!(translate_remapped_path_to_local_path, false);
tracked!(trap_unreachable, Some(false));
tracked!(treat_err_as_bug, NonZeroUsize::new(1));
tracked!(tune_cpu, Some(String::from("abc")));