[flang-commits] [flang] 7ce8c59 - [flang][test-suite] Document need for NO_STOP_MESSAGE environment variable. NFC

Diana Picus via flang-commits flang-commits at lists.llvm.org
Fri Jun 3 01:19:26 PDT 2022


Author: Diana Picus
Date: 2022-06-03T08:19:10Z
New Revision: 7ce8c59b383a372d8fd4c44ab3b0dfbcd568d757

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

LOG: [flang][test-suite] Document need for NO_STOP_MESSAGE environment variable. NFC

When running the llvm-test-suite with flang, we get a lot of failures
because of the output of the `STOP` statement. We can workaround them by
setting `NO_STOP_MESSAGE=1` in the environment. This patch adds a few
words about it to the docs about the Fortran part of the llvm-test-suite.

See also https://reviews.llvm.org/D126360

Added: 
    

Modified: 
    flang/docs/FortranLLVMTestSuite.md

Removed: 
    


################################################################################
diff  --git a/flang/docs/FortranLLVMTestSuite.md b/flang/docs/FortranLLVMTestSuite.md
index 46a8fe4f6342..a6fffc8937ed 100644
--- a/flang/docs/FortranLLVMTestSuite.md
+++ b/flang/docs/FortranLLVMTestSuite.md
@@ -34,6 +34,10 @@ are found in the Fortran subdirectory. To run the C/C++ tests
 alongside the Fortran tests omit the `-DTEST_SUITE_SUBDIRS` CMake
 variable.
 
+If your Fortran compiler is Flang, you may want to set the `NO_STOP_MESSAGE`
+environment variable to `1` in order to avoid test failures due to warnings
+about INEXACT signaling exceptions.
+
 
 ## Running the SPEC CPU 2017
 


        


More information about the flang-commits mailing list