]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR modula2/111627 Excess test fails with a case-preserving-case-insensitive source...
authorGaius Mulley <gaiusmod2@gmail.com>
Wed, 31 Jan 2024 15:44:32 +0000 (15:44 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Wed, 31 Jan 2024 15:44:32 +0000 (15:44 +0000)
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>
gcc/testsuite/gm2/pim/pass/teststdio.mod [moved from gcc/testsuite/gm2/pim/pass/stdio.mod with 96% similarity]
gcc/testsuite/gm2/pim/run/pass/testbuiltins.mod [moved from gcc/testsuite/gm2/pim/run/pass/builtins.mod with 95% similarity]
gcc/testsuite/gm2/pim/run/pass/testmath.mod [moved from gcc/testsuite/gm2/pim/run/pass/math.mod with 97% similarity]
gcc/testsuite/gm2/pim/run/pass/testmath2.mod [moved from gcc/testsuite/gm2/pim/run/pass/math2.mod with 97% similarity]

similarity index 96%
rename from gcc/testsuite/gm2/pim/pass/stdio.mod
rename to gcc/testsuite/gm2/pim/pass/teststdio.mod
index f121a8c864ff0235d4f4b9d58180241cb4bcb4d2..f67b1c7111f8de22357ada7df70c4b80d8da8e8a 100644 (file)
@@ -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.
similarity index 95%
rename from gcc/testsuite/gm2/pim/run/pass/builtins.mod
rename to gcc/testsuite/gm2/pim/run/pass/testbuiltins.mod
index 1cf9fb7cb7f3040f43f8b702621ee4ec48cb0285..2fbea373641f02023062a376c7c700a4d60b5551 100644 (file)
@@ -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.
similarity index 97%
rename from gcc/testsuite/gm2/pim/run/pass/math.mod
rename to gcc/testsuite/gm2/pim/run/pass/testmath.mod
index 8eab79d294ebfd7f536c14d31b409dc5c55574cf..19caf5768feee897c90e889cccf8c076fe70c2f4 100644 (file)
@@ -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.
similarity index 97%
rename from gcc/testsuite/gm2/pim/run/pass/math2.mod
rename to gcc/testsuite/gm2/pim/run/pass/testmath2.mod
index 3dd270997af1604ce1c2956c4296df8b8da066fe..483372dcee1808c20c5a5020ef392aa0df3910de 100644 (file)
@@ -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.