[libc-commits] [libc] e11e973 - [libc] Update exhaustive testing documentations.

Tue Ly via libc-commits libc-commits at lists.llvm.org
Fri Jan 14 08:10:13 PST 2022


Author: Tue Ly
Date: 2022-01-14T11:10:05-05:00
New Revision: e11e973e68f89224c8aaddf38ea7859709f00306

URL: https://github.com/llvm/llvm-project/commit/e11e973e68f89224c8aaddf38ea7859709f00306
DIFF: https://github.com/llvm/llvm-project/commit/e11e973e68f89224c8aaddf38ea7859709f00306.diff

LOG: [libc] Update exhaustive testing documentations.

Added: 
    

Modified: 
    libc/src/math/docs/add_math_function.md

Removed: 
    


################################################################################
diff  --git a/libc/src/math/docs/add_math_function.md b/libc/src/math/docs/add_math_function.md
index d2affca51b61d..f605efa62840c 100644
--- a/libc/src/math/docs/add_math_function.md
+++ b/libc/src/math/docs/add_math_function.md
@@ -111,6 +111,11 @@ order to find exceptional cases for your function's implementation.
 ```
   libc/test/src/math/exhaustive/CMakeLists.txt
 ```
+- The template class `LlvmLibcExhaustiveTest` located at:
+```
+  libc/test/src/math/exhaustive/exhaustive_test.h
+```
+can be inherited for conveniently parallelizing the exhaustive tests.
 
 ### Performance tests
 
@@ -164,6 +169,7 @@ implementation (which is very often glibc).
 - Build and Run exhaustive test (might take hours to run):
 ```
   $ ninja libc.test.src.math.exhaustive.<func>_test
+  $ projects/libc/test/src/math/exhaustive/libc.test.src.math.exhaustive.<func>_test
 ```
 
 - Build and Run performance test:


        


More information about the libc-commits mailing list