Skip to content

Conversation

@tarunprabhu
Copy link
Contributor

Some tests, particularly the NIST tests require NO_STOP_MESSAGE=1 to be set. This was done unconditionally in Fortran/lit.local.cfg. However, if the test suite is configured to run ONLY the NIST tests, for instance by setting -DTEST_SUITE_SUBDIRS=Fortran/UnitTests/fcvs21_f95, Fortran/lit.local.cfg is not processed and the tests fail. lit also ignores the variable even if it is explicitly set by the user.

This commit addresses the issue and by ensuring that NO_STOP_MESSAGE is added to the environment used when running the tests. Also, NO_STOP_MESSAGE is no longer set unconditionally. If a value was explicitly provided by the user, it will be respected. If no value is provided, it will be set to 1 unconditionally. The README has been substantially expanded to provide more details about this.

Some tests, particularly the NIST tests require NO_STOP_MESSAGE=1 to be set.
This was done unconditionally in Fortran/lit.local.cfg. However, if the
test suite is configured to run ONLY the NIST tests, for instance by setting
`-DTEST_SUITE_SUBDIRS=Fortran/UnitTests/fcvs21_f95`, Fortran/lit.local.cfg is
not processed and the tests fail. lit also ignores the variable even if it is
explicitly set by the user.

This commit addresses the issue and by ensuring that NO_STOP_MESSAGE is added to
the environment used when running the tests. Also, NO_STOP_MESSAGE is no longer
set unconditionally. If a value was explicitly provided by the user, it will
be respected. If no value is provided, it will be set to 1 unconditionally.
The README has been substantially expanded to provide more details about this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant