forked from OSchip/llvm-project
[libc] Make div test names unique
In Fuchsia, all tests in a directory, ie stdlib, are linked into one executable, this causes problems for multiple definitions of the vtables of the div tests because their class has the same name. This patch just trivially changes their name to be unique between all div tests. Differential revision: https://reviews.llvm.org/D129248
This commit is contained in:
parent
fad93cd682
commit
a442c62888
libc/test/src/stdlib
|
@ -34,4 +34,4 @@ public:
|
|||
|
||||
#define LIST_DIV_TESTS(IntType, ReturnType, func) \
|
||||
using LlvmLibcDivTest = DivTest<IntType, ReturnType>; \
|
||||
TEST_F(LlvmLibcDivTest, SimpleTest) { simpleTest(func); }
|
||||
TEST_F(LlvmLibcDivTest, SimpleTest##ReturnType) { simpleTest(func); }
|
||||
|
|
Loading…
Reference in New Issue