diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2024-01-31 15:44:32 +0000 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2024-01-31 15:44:32 +0000 |
commit | 4fd094835a8997cdcc3d18d7d297debe1527202d (patch) | |
tree | 8085802408fd48b638b887d9b323c107b72794d9 | |
parent | f7935beef7b02fbba0adf33fb2ba5c0a27d7e9ff (diff) | |
download | gcc-4fd094835a8997cdcc3d18d7d297debe1527202d.zip gcc-4fd094835a8997cdcc3d18d7d297debe1527202d.tar.gz gcc-4fd094835a8997cdcc3d18d7d297debe1527202d.tar.bz2 |
PR modula2/111627 Excess test fails with a case-preserving-case-insensitive source tree
This patch renames gm2 testsuite modules whose names conflict with library
modules. The conflict is not seen on case preserving case sensitive file
systems.
gcc/testsuite/ChangeLog:
PR modula2/111627
* gm2/pim/pass/stdio.mod: Moved to...
* gm2/pim/pass/teststdio.mod: ...here.
* gm2/pim/run/pass/builtins.mod: Moved to...
* gm2/pim/run/pass/testbuiltins.mod: ...here.
* gm2/pim/run/pass/math.mod: Moved to...
* gm2/pim/run/pass/testmath.mod: ...here.
* gm2/pim/run/pass/math2.mod: Moved to...
* gm2/pim/run/pass/testmath2.mod: ...here.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
-rw-r--r-- | gcc/testsuite/gm2/pim/pass/teststdio.mod (renamed from gcc/testsuite/gm2/pim/pass/stdio.mod) | 4 | ||||
-rw-r--r-- | gcc/testsuite/gm2/pim/run/pass/testbuiltins.mod (renamed from gcc/testsuite/gm2/pim/run/pass/builtins.mod) | 4 | ||||
-rw-r--r-- | gcc/testsuite/gm2/pim/run/pass/testmath.mod (renamed from gcc/testsuite/gm2/pim/run/pass/math.mod) | 4 | ||||
-rw-r--r-- | gcc/testsuite/gm2/pim/run/pass/testmath2.mod (renamed from gcc/testsuite/gm2/pim/run/pass/math2.mod) | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/gcc/testsuite/gm2/pim/pass/stdio.mod b/gcc/testsuite/gm2/pim/pass/teststdio.mod index f121a8c..f67b1c7 100644 --- a/gcc/testsuite/gm2/pim/pass/stdio.mod +++ b/gcc/testsuite/gm2/pim/pass/teststdio.mod @@ -16,7 +16,7 @@ with gm2; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *) -MODULE stdio ; (*!m2pim*) +MODULE teststdio ; (*!m2pim*) CONST MaxStack = 40 ; @@ -50,4 +50,4 @@ END PushOutput ; BEGIN StackWPtr := 0 ; PushOutput(write) -END stdio. +END teststdio. diff --git a/gcc/testsuite/gm2/pim/run/pass/builtins.mod b/gcc/testsuite/gm2/pim/run/pass/testbuiltins.mod index 1cf9fb7..2fbea37 100644 --- a/gcc/testsuite/gm2/pim/run/pass/builtins.mod +++ b/gcc/testsuite/gm2/pim/run/pass/testbuiltins.mod @@ -1,4 +1,4 @@ -MODULE builtins ; (*!m2pim+gm2*) +MODULE testbuiltins ; (*!m2pim+gm2*) FROM Builtins IMPORT log10l ; FROM libc IMPORT printf, exit ; @@ -76,4 +76,4 @@ BEGIN code := 0 ; test ; exit (code) -END builtins. +END testbuiltins. diff --git a/gcc/testsuite/gm2/pim/run/pass/math.mod b/gcc/testsuite/gm2/pim/run/pass/testmath.mod index 8eab79d..19caf57 100644 --- a/gcc/testsuite/gm2/pim/run/pass/math.mod +++ b/gcc/testsuite/gm2/pim/run/pass/testmath.mod @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with gm2; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *) -MODULE math ; +MODULE testmath ; IMPORT MathLib0, SMathLib0 ; FROM libc IMPORT printf, exit ; @@ -41,4 +41,4 @@ BEGIN s := 5.9 ; printf("value of SMathLib0.entier (10.0 + s) = %d (should be 15)\n", SMathLib0.entier (10.0 + s)) ; Assert(SMathLib0.entier (10.0 + s) = 15, __FILE__, __LINE__) ; -END math. +END testmath. diff --git a/gcc/testsuite/gm2/pim/run/pass/math2.mod b/gcc/testsuite/gm2/pim/run/pass/testmath2.mod index 3dd2709..483372d 100644 --- a/gcc/testsuite/gm2/pim/run/pass/math2.mod +++ b/gcc/testsuite/gm2/pim/run/pass/testmath2.mod @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with gm2; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *) -MODULE math2 ; +MODULE testmath2 ; IMPORT MathLib0, SMathLib0 ; FROM libc IMPORT printf, exit ; @@ -41,4 +41,4 @@ BEGIN s := 5.9 ; printf("value of SMathLib0.entier (10.0 + s) = %d (should be 15)\n", SMathLib0.entier (10.0 + s)) ; Assert(SMathLib0.entier (s + 10.0) = 15, __FILE__, __LINE__) ; -END math2. +END testmath2. |