diff options
| author | Wesley Wiser <wesleywiser@microsoft.com> | 2021-11-04 10:30:23 -0400 |
|---|---|---|
| committer | Wesley Wiser <wesleywiser@microsoft.com> | 2021-11-04 10:39:15 -0400 |
| commit | 8c56ef0878bb798dba3fa7374a387b61365849ed (patch) | |
| tree | ed3cc93ed0e4be3f35761537a9bbee72ee3dc9f0 /src/tools/compiletest | |
| parent | 37f70a0e1e04086aee7ae57fbefd6d4071953506 (diff) | |
| download | rust-8c56ef0878bb798dba3fa7374a387b61365849ed.tar.gz rust-8c56ef0878bb798dba3fa7374a387b61365849ed.zip | |
Fix tests using `only-i686` to use the correct `only-x86` directive
We translate `i686` to `x86` which means tests marked as `only-i686` never ran. Update those tests to use `only-x86`.
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/header/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/header/tests.rs b/src/tools/compiletest/src/header/tests.rs index 2485dbadab5..157b42e2d17 100644 --- a/src/tools/compiletest/src/header/tests.rs +++ b/src/tools/compiletest/src/header/tests.rs @@ -168,7 +168,7 @@ fn only_target() { let mut config = config(); config.target = "x86_64-pc-windows-gnu".to_owned(); - assert!(check_ignore(&config, "// only-i686")); + assert!(check_ignore(&config, "// only-x86")); assert!(check_ignore(&config, "// only-linux")); assert!(check_ignore(&config, "// only-msvc")); assert!(check_ignore(&config, "// only-32bit")); |
