Hi!
I am working on implementing support for three new functions strfromd
, strfromf
, and strfroml
to LLVM’s libc
, that have been newly introduced in C23.
I have almost completed the implementation, and implemented a shared utility for all the three functions, where each would call the utility for internal operations.
However, I am stuck on one last step: Adding tests.
The problem is that even though I have added the test file to the correct location, viz. libc/test/src/stdlib/strfromf_test.cpp
and added the following entry to test/src/stdlib/CMakeLists.txt
:
add_libc_test(
strfromf_test
SUITE
libc-stdlib-tests
SRCS
strfromf_test.cpp
DEPENDS
libc.src.stdlib.strfromf
)
the build system still does not seem to be recognizing this entry. Thus, whenever I run ninja check-libc
or ninja libc-stdlib-tests
I do not get any output related to the new test whatsoever.
The added functions in libc/src/stdlib/
work fine, as I am able to link llvmlibc.a
to a C program and run it successfully.
I would really, really appreciate some help with this issue.
Thanks a lot!
Vinayak