[all-commits] [llvm/llvm-project] 93dca9: [flang][test] Fix semantics tests with respect to ...
Emil Kieri via All-commits
all-commits at lists.llvm.org
Thu Aug 18 10:16:54 PDT 2022
Author: Emil Kieri <j.emil.kieri at gmail.com>
Date: 2022-08-18 (Thu, 18 Aug 2022)
[flang][test] Fix semantics tests with respect to warnings
Make tests expect the (correctly) emitted warnings using the WARNING
directive. This directive is non-functional now, but will be recognised
by test_errors.py when D125804 is landed. This patch is a preparation
For most tests, we add missing WARNING directives for emitted warnings,
but there are exceptions:
- for int-literals.f90 and resolve31.f90 we pass -pedantic to the
frontend driver, so that the expected warnings are actually emitted.
- for block-data01.f90 and resolve42.f90 we change the tests so that
warnings, which appear unintentional, are not emitted. While testing
the warning in question (padding added for alignment in common block)
would be desired, that is beyond the scope of this patch. This
warning is target-dependent.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D131987
More information about the All-commits