[flang] Fix tests that use the same .mod file
authorTim Keith <tkeith@nvidia.com>
Mon, 23 Sep 2019 23:39:57 +0000 (16:39 -0700)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2019 21:55:40 +0000 (14:55 -0700)
commit3ef61ec22672c145cc93675c98845b27d272b961
tree5451891ca9eb07c40c2ca6ebd117d5c6fad1d017
parent73c630a4ea6ec613a4f34cc97a6121bdf26ccb51
[flang] Fix tests that use the same .mod file

The tests run by `test_any.sh` don't redirect their .mod files to
a different directory so they occasionally fail when the same file
is accessed by different tests at the same time. With locking of
module files implemented, this problem reproduces much more reliably

Work around it by changing the module names to be distinct. Also remove
some comments left over when copied from `test_symbols.sh` tests.

Original-commit: flang-compiler/f18@f7b5c5f0fcbbac4736940761e6d43ec76a3a372a
Reviewed-on: https://github.com/flang-compiler/f18/pull/758
flang/test/semantics/getdefinition01.f90
flang/test/semantics/getdefinition02.f
flang/test/semantics/getdefinition03-a.f90
flang/test/semantics/getdefinition03-b.f90
flang/test/semantics/getsymbols01.f90
flang/test/semantics/getsymbols02-a.f90
flang/test/semantics/getsymbols02-b.f90
flang/test/semantics/getsymbols02-c.f90
flang/test/semantics/getsymbols03-a.f90
flang/test/semantics/getsymbols03-b.f90