From 802afb4c0aa9d2fe6b94aac95b3d1831f2eec189 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Tue, 29 Aug 2017 01:03:13 +0000 Subject: [PATCH] Shorten filenames of tests (-with-calls to -calls) Summary: The NetBSD's 8(beta) versions of kernel functions to retrieve program name (vnode to path translator) and process memory map have internal limit of processing filenames with maximum of 31 characters. Filenames like Asan-x86_64-with-calls-Noinst-Test break this limit and affect tests. Rename "-with-calls" to "-calls". This changes fixes all issues for the Address Sanitizer test target (check-asan) on the current NetBSD support caused by long filenames. Sponsored by Reviewers: joerg, vitalybuka, filcab, fjricci, kcc Reviewed By: vitalybuka Subscribers: kubamracek, mgorny, llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D37149 llvm-svn: 311966 --- compiler-rt/lib/asan/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/asan/tests/CMakeLists.txt b/compiler-rt/lib/asan/tests/CMakeLists.txt index 983cf9f9078e..f8b9f4584342 100644 --- a/compiler-rt/lib/asan/tests/CMakeLists.txt +++ b/compiler-rt/lib/asan/tests/CMakeLists.txt @@ -265,7 +265,7 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS AND NOT ANDROID) FOLDER "Compiler-RT Runtime tests") add_asan_tests(${arch} ${ASAN_TEST_RUNTIME} KIND "-inline") - add_asan_tests(${arch} ${ASAN_TEST_RUNTIME} KIND "-with-calls" + add_asan_tests(${arch} ${ASAN_TEST_RUNTIME} KIND "-calls" CFLAGS -mllvm -asan-instrumentation-with-call-threshold=0) endforeach() endif()