[PATCH] D66887: [test-suite][WIP] Add GCC C Torture Suite as External Test Suite
Henry Cheang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 14:25:02 PDT 2019
khcheang added a comment.
Hello, we have integrated this patch to our test environment for a ri5cy target, and made the following changes. Please review. Thanks!
================
Comment at: SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt:187
+)
+
+##
----------------
Added a group for testing of newlib-nano printf
```
# Tests that require newnlib Nano IO (-Wl,-u,_printf_float flag)
file(GLOB TestRequiresNanoIO CONFIGURE_DEPENDS
920501-8.c
930513-1.c
)
```
================
Comment at: SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt:201
+ )
+ list(APPEND TestsToSkip MMapTests)
+endif()
----------------
${MMapTests}
================
Comment at: SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt:219
+ pr84521.c
+ )
+ list(APPEND TestsToSkip ${RISCVTestsToSkip})
----------------
We added this exclude for rv32 target
# __int128 is not supported on this target
pr84748.c
================
Comment at: SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt:231
+foreach(TestToSkip ${TestsToSkip})
+ list(REMOVE_ITEM TestFiles TestToSkip)
+endforeach()
----------------
${TestToSkip}
================
Comment at: SingleSource/Regression/C/gcc-c-torture/execute/CMakeLists.txt:243
+ endif()
+
+ if(${File} IN_LIST TestRequiresWNoReturnType)
----------------
Added a group for newlib-nano tests
```
if(${File} IN_LIST TestRequiresNanoIO)
list(APPEND MaybeLDFlags "-Wl,-u,_printf_float")
endif()
```
Repository:
rT test-suite
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66887/new/
https://reviews.llvm.org/D66887
More information about the llvm-commits
mailing list