[PATCH] D159094: Temporarily move failed test to runtime

Elvina Yakubova via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 07:12:45 PDT 2023


Elvina created this revision.
Elvina added reviewers: Amir, yota9, rafauler, maksfb.
Herald added a subscriber: ayermolo.
Herald added a project: All.
Elvina requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

As these tests are failing during cross-compilation https://lab.llvm.org/buildbot/#/builders/221/builds/17715, temporarily move them to runtime, which does not support cross-compiling scenario


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159094

Files:
  bolt/test/X86/asm-dump.c
  bolt/test/X86/bolt-address-translation-internal-call.test
  bolt/test/X86/instrumentation-eh_frame_hdr.cpp
  bolt/test/X86/internal-call-instrument.s
  bolt/test/runtime/X86/asm-dump.c
  bolt/test/runtime/X86/instrumentation-eh_frame_hdr.cpp
  bolt/test/runtime/X86/internal-call-instrument.s
  bolt/test/runtime/bolt-address-translation-internal-call.test


Index: bolt/test/runtime/X86/asm-dump.c
===================================================================
--- bolt/test/runtime/X86/asm-dump.c
+++ bolt/test/runtime/X86/asm-dump.c
@@ -66,12 +66,11 @@
 #include <stdio.h>
 #include <string.h>
 
-int main(int argc, char* argv[]) {
+int main(int argc, char *argv[]) {
   for (int I = 0; I < 10; I++) {
     if (I != 9)
       continue;
-    if (argc > 1 &&
-        strncmp(argv[1], "--help", strlen("--help")) == 0) {
+    if (argc > 1 && strncmp(argv[1], "--help", strlen("--help")) == 0) {
       puts("Help message\n");
     } else {
       puts("Hello, World!\n");


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159094.554313.patch
Type: text/x-patch
Size: 619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230829/8bbd4790/attachment-0001.bin>


More information about the llvm-commits mailing list