[all-commits] [llvm/llvm-project] c0e4a0: [openmp] [test] Unbreak tests that rely on hidden_...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Nov 17 12:25:17 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0e4a0c3a46e16ef066ec11d1d48298b06bef21c
      https://github.com/llvm/llvm-project/commit/c0e4a0c3a46e16ef066ec11d1d48298b06bef21c
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M openmp/runtime/test/lit.cfg
    M openmp/runtime/test/tasking/hidden_helper_task/affinity.cpp
    M openmp/runtime/test/tasking/hidden_helper_task/gtid.cpp
    M openmp/runtime/test/worksharing/for/kmp_sch_simd_guided.c

  Log Message:
  -----------
  [openmp] [test] Unbreak tests that rely on hidden_helper_task on Windows

The hidden helper task is only enabled on Linux (kmp_runtime.cpp
initializes __kmp_enable_hidden_helper to TRUE for linux but to
FALSE for any other OS), and the __kmp_stg_parse_use_hidden_helper
function always makes it disabled on non-Linux OSes too.

Add a lit test feature for hidden helper tasks (only made available
on Linux) and mark two tests as requiring this feature.

Disable hidden helper tasks in the test that doesn't really involve
them, for consistent behaviour across platforms.

Differential Revision: https://reviews.llvm.org/D137749




More information about the All-commits mailing list