[libc-commits] [libc] [libc][test] make `str_to_float_comparison_test` independent of C++ headers. (PR #133978)
Mikhail R. Gadelha via libc-commits
libc-commits at lists.llvm.org
Sat Apr 5 08:18:58 PDT 2025
================
@@ -150,24 +193,28 @@ int main(int argc, char *argv[]) {
int detailedBitDiffs[4] = {0, 0, 0, 0};
int total = 0;
- for (int i = 1; i < argc; i++) {
- std::cout << "Starting file " << argv[i] << "\n";
- int curResult =
- checkFile(argv[i], &fails, &bitdiffs, detailedBitDiffs, &total);
- if (curResult == 1) {
- result = 1;
- break;
- } else if (curResult == 2) {
- result = 2;
+
+ char *files = LIBC_NAMESPACE::getenv("FILES");
----------------
mikhailramalho wrote:
you can get rid of this since the data will be available on the test now.
https://github.com/llvm/llvm-project/pull/133978
More information about the libc-commits
mailing list