[Openmp-commits] [PATCH] D139803: [OpenMP][Test] Make the output error message consistent with the comment

Gong LingQin via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 13 18:08:54 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGb49d3e50e353: [OpenMP][Test] Make the output error message consistent with the comment (authored by gonglingqin).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139803/new/

https://reviews.llvm.org/D139803

Files:
  openmp/runtime/test/affinity/kmp-affinity.c
  openmp/runtime/test/affinity/omp-places.c


Index: openmp/runtime/test/affinity/omp-places.c
===================================================================
--- openmp/runtime/test/affinity/omp-places.c
+++ openmp/runtime/test/affinity/omp-places.c
@@ -23,7 +23,7 @@
     topology_print_places(p1);
     printf("\n");
     printf("p2 places:\n");
-    topology_print_places(p1);
+    topology_print_places(p2);
     return EXIT_FAILURE;
   }
   for (i = 0; i < p1->num_places; ++i) {
@@ -40,7 +40,7 @@
       topology_print_places(p1);
       printf("\n");
       printf("p2 places:\n");
-      topology_print_places(p1);
+      topology_print_places(p2);
       return EXIT_FAILURE;
     }
   }
Index: openmp/runtime/test/affinity/kmp-affinity.c
===================================================================
--- openmp/runtime/test/affinity/kmp-affinity.c
+++ openmp/runtime/test/affinity/kmp-affinity.c
@@ -27,7 +27,7 @@
       topology_print_places(p1);
       printf("\n");
       printf("p2 places:\n");
-      topology_print_places(p1);
+      topology_print_places(p2);
       return EXIT_FAILURE;
     }
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139803.482683.patch
Type: text/x-patch
Size: 1083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221214/7997255f/attachment.bin>


More information about the Openmp-commits mailing list