-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
[Object][Wasm] Move wasm Object tests into their own directory (NFC) #81072
Conversation
@llvm/pr-subscribers-llvm-binary-utilities Author: Derek Schuff (dschuff) ChangesFull diff: https://github.com/llvm/llvm-project/pull/81072.diff 12 Files Affected:
diff --git a/llvm/test/Object/wasm-bad-data-symbol.yaml b/llvm/test/Object/Wasm/wasm-bad-data-symbol.yaml
similarity index 100%
rename from llvm/test/Object/wasm-bad-data-symbol.yaml
rename to llvm/test/Object/Wasm/wasm-bad-data-symbol.yaml
diff --git a/llvm/test/Object/wasm-bad-metadata-version.yaml b/llvm/test/Object/Wasm/wasm-bad-metadata-version.yaml
similarity index 100%
rename from llvm/test/Object/wasm-bad-metadata-version.yaml
rename to llvm/test/Object/Wasm/wasm-bad-metadata-version.yaml
diff --git a/llvm/test/Object/wasm-bad-reloc-type.test b/llvm/test/Object/Wasm/wasm-bad-reloc-type.test
similarity index 100%
rename from llvm/test/Object/wasm-bad-reloc-type.test
rename to llvm/test/Object/Wasm/wasm-bad-reloc-type.test
diff --git a/llvm/test/Object/wasm-bad-symbol-type.test b/llvm/test/Object/Wasm/wasm-bad-symbol-type.test
similarity index 100%
rename from llvm/test/Object/wasm-bad-symbol-type.test
rename to llvm/test/Object/Wasm/wasm-bad-symbol-type.test
diff --git a/llvm/test/Object/wasm-duplicate-name.test b/llvm/test/Object/Wasm/wasm-duplicate-name.test
similarity index 100%
rename from llvm/test/Object/wasm-duplicate-name.test
rename to llvm/test/Object/Wasm/wasm-duplicate-name.test
diff --git a/llvm/test/Object/wasm-invalid-file.yaml b/llvm/test/Object/Wasm/wasm-invalid-file.yaml
similarity index 100%
rename from llvm/test/Object/wasm-invalid-file.yaml
rename to llvm/test/Object/Wasm/wasm-invalid-file.yaml
diff --git a/llvm/test/Object/wasm-invalid-section-order.test b/llvm/test/Object/Wasm/wasm-invalid-section-order.test
similarity index 100%
rename from llvm/test/Object/wasm-invalid-section-order.test
rename to llvm/test/Object/Wasm/wasm-invalid-section-order.test
diff --git a/llvm/test/Object/wasm-invalid-start.test b/llvm/test/Object/Wasm/wasm-invalid-start.test
similarity index 100%
rename from llvm/test/Object/wasm-invalid-start.test
rename to llvm/test/Object/Wasm/wasm-invalid-start.test
diff --git a/llvm/test/Object/wasm-missing-version.test b/llvm/test/Object/Wasm/wasm-missing-version.test
similarity index 100%
rename from llvm/test/Object/wasm-missing-version.test
rename to llvm/test/Object/Wasm/wasm-missing-version.test
diff --git a/llvm/test/Object/wasm-obj2yaml-tables.test b/llvm/test/Object/Wasm/wasm-obj2yaml-tables.test
similarity index 100%
rename from llvm/test/Object/wasm-obj2yaml-tables.test
rename to llvm/test/Object/Wasm/wasm-obj2yaml-tables.test
diff --git a/llvm/test/Object/wasm-relocs-and-producers.yaml b/llvm/test/Object/Wasm/wasm-relocs-and-producers.yaml
similarity index 100%
rename from llvm/test/Object/wasm-relocs-and-producers.yaml
rename to llvm/test/Object/Wasm/wasm-relocs-and-producers.yaml
diff --git a/llvm/test/Object/wasm-string-outside-section.test b/llvm/test/Object/Wasm/wasm-string-outside-section.test
similarity index 100%
rename from llvm/test/Object/wasm-string-outside-section.test
rename to llvm/test/Object/Wasm/wasm-string-outside-section.test
|
This makes some logical sense but the other sub-directories here represent architectures, and not object formats. For example note that there are no COFF or ELF sub-directories here. Should we move those tests too? |
True. I'm not sure I want to reorganize the whole thing but we could rename the directory from Wasm (which the object format is usually called) to WebAssembly (the architecture)😄 |
I think maybe go for a full rename for ELF and COFF too? See what the other maintainers think about it? Also, we have not yet used "Wasm" as a file or directory name in llvm. We have |
|
Creating We've moved ELF/COFF/Mach-O tests for at least llvm-readobj/llvm-objcopy/llvm-objdump. |
I looked at this a little more. Regarding Wasm vs wasm: It looks like actually Wasm is more common than wasm (notable exceptions being lld/wasm and llvm/lib/ObjCopy/wasm). It also looks like Therefore for this PR I'm going to suggest keeping the name as Wasm. Fixing some |
19c3f05
to
046b929
Compare
No description provided.