[openmp] [test] XFAIL many-microtask-args.c on ARM
authorMartin Storsjö <martin@martin.st>
Fri, 25 Nov 2022 14:26:50 +0000 (16:26 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 28 Nov 2022 20:40:02 +0000 (22:40 +0200)
commit03bf001b6d95f7c6a88a2b95f3cad752b9d1ed45
tree67ce7ff3c98810eb4de22bbd98e9ad615f83d673
parent63f0fdc2628dfb2f52ed5a92e579f99261d946ed
[openmp] [test] XFAIL many-microtask-args.c on ARM

On ARM, a C fallback version of __kmp_invoke_microtask is used,
which only handles up to a fixed number of arguments - while
many-microtask-args.c tests that the function can handle an
arbitrarily large number of arguments (the testcase produces 17
arguments).

On the CMake level, we can't add ${LIBOMP_ARCH} directly to
OPENMP_TEST_COMPILER_FEATURES in OpenMPTesting.cmake, since
that file is parsed before LIBOMP_ARCH is set. Instead
convert the feature list into a proper CMake list, and append
${LIBOMP_ARCH} into it before serializing it to an Python array.

Differential Revision: https://reviews.llvm.org/D138738
openmp/cmake/OpenMPTesting.cmake
openmp/runtime/test/CMakeLists.txt
openmp/runtime/test/misc_bugs/many-microtask-args.c