- 
                Notifications
    
You must be signed in to change notification settings  - Fork 15.1k
 
[ARM][AArch64] Move TestInputs to Inputs #164633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This works better with the custom lit runner that we use internally in Google. Test inputs require special handling and "Inputs" is the standard directory name used for lit tests.
| 
          
 @llvm/pr-subscribers-lto Author: Walter Lee (googlewalt) ChangesThis works better with the custom lit runner that we use internally in Google. Test inputs require special handling and "Inputs" is the standard directory name used for lit tests. Fixes internal issue with #86212. Full diff: https://github.com/llvm/llvm-project/pull/164633.diff 6 Files Affected: 
 diff --git a/llvm/test/LTO/AArch64/TestInputs/bar.ll b/llvm/test/LTO/AArch64/Inputs/bar.ll
similarity index 100%
rename from llvm/test/LTO/AArch64/TestInputs/bar.ll
rename to llvm/test/LTO/AArch64/Inputs/bar.ll
diff --git a/llvm/test/LTO/AArch64/TestInputs/fiz.ll b/llvm/test/LTO/AArch64/Inputs/fiz.ll
similarity index 100%
rename from llvm/test/LTO/AArch64/TestInputs/fiz.ll
rename to llvm/test/LTO/AArch64/Inputs/fiz.ll
diff --git a/llvm/test/LTO/AArch64/TestInputs/foo.ll b/llvm/test/LTO/AArch64/Inputs/foo.ll
similarity index 100%
rename from llvm/test/LTO/AArch64/TestInputs/foo.ll
rename to llvm/test/LTO/AArch64/Inputs/foo.ll
diff --git a/llvm/test/LTO/AArch64/TestInputs/old.ll b/llvm/test/LTO/AArch64/Inputs/old.ll
similarity index 100%
rename from llvm/test/LTO/AArch64/TestInputs/old.ll
rename to llvm/test/LTO/AArch64/Inputs/old.ll
diff --git a/llvm/test/LTO/AArch64/link-branch-target-enforcement.ll b/llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
index aef8907c03411..20254de995f73 100644
--- a/llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
+++ b/llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
@@ -2,7 +2,7 @@
 ;; be mixed.
 ;;
 ; RUN: llvm-as %s -o %t1.bc
-; RUN: llvm-as %p/TestInputs/foo.ll -o %t2.bc
+; RUN: llvm-as %p/Inputs/foo.ll -o %t2.bc
 ; RUN: llvm-lto -exported-symbol main \
 ; RUN:          -exported-symbol foo_on \
 ; RUN:          -filetype=obj \
diff --git a/llvm/test/LTO/AArch64/link-sign-return-address.ll b/llvm/test/LTO/AArch64/link-sign-return-address.ll
index df6276f32b6f1..331e481b69e43 100644
--- a/llvm/test/LTO/AArch64/link-sign-return-address.ll
+++ b/llvm/test/LTO/AArch64/link-sign-return-address.ll
@@ -2,10 +2,10 @@
 ;; be mixed.
 ;
 ; RUN: llvm-as %s -o %t1.bc
-; RUN: llvm-as %p/TestInputs/foo.ll -o %t2.bc
-; RUN: llvm-as %p/TestInputs/fiz.ll -o %t3.bc
-; RUN: llvm-as %p/TestInputs/bar.ll -o %t4.bc
-; RUN: llvm-as %p/TestInputs/old.ll -o %t5.bc
+; RUN: llvm-as %p/Inputs/foo.ll -o %t2.bc
+; RUN: llvm-as %p/Inputs/fiz.ll -o %t3.bc
+; RUN: llvm-as %p/Inputs/bar.ll -o %t4.bc
+; RUN: llvm-as %p/Inputs/old.ll -o %t5.bc
 ; RUN: llvm-lto -exported-symbol main \
 ; RUN:          -exported-symbol foo_on \
 ; RUN:          -exported-symbol foo_off \
 | 
    
| 
           LLVM Buildbot has detected a new failure on builder  Full details are available at: https://lab.llvm.org/buildbot/#/builders/51/builds/25706 Here is the relevant piece of the build log for the reference | 
    
| 
           I don't think this PR actually caused the issue found by the bots (at least, I don't see how it could), but the bot issue is real and impacting precommit CI: #162662 (comment) CC @lhames as the ORC expert to make sure we get eyeballs on this.  | 
    
| 
           It looks like a flake. The postcommit builders that test the premerge configuration have not been consistently red.  | 
    
          
 Ah good to know! I suspected that might be the case, but wasn't confident. Thank you!  | 
    
It's standard in LLVM to have test inputs be in "Inputs". See https://llvm.org/docs/TestingGuide.html#extra-files. Fixes internal issue with llvm#86212.
| 
           Belatedly -- Yep, definitely a flake! Sorry for the noise.  | 
    
It's standard in LLVM to have test inputs be in "Inputs". See https://llvm.org/docs/TestingGuide.html#extra-files. Fixes internal issue with llvm#86212.
It's standard in LLVM to have test inputs be in "Inputs". See https://llvm.org/docs/TestingGuide.html#extra-files. Fixes internal issue with llvm#86212.
It's standard in LLVM to have test inputs be in "Inputs". See https://llvm.org/docs/TestingGuide.html#extra-files.
Fixes internal issue with #86212.