bugmake - Bugs: bug #31003, Some tests fail because of...

 
 

bug #31003: Some tests fail because of localisation

Submitted by:  Jesús Martínez Novo <ciencia_al_poder>
Submitted on:  Thu 09 Sep 2010 12:51:34 PM UTC  
 
Severity: 3 - NormalItem Group: Build/Install
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.81Operating System: POSIX-Based
Fixed Release: 3.82Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 12 Sep 2010 01:42:01 PM UTC, comment #3:

OK, thanks for trying it out and getting back to us.

Paul D. Smith <psmith>
Project Administrator
Sun 12 Sep 2010 09:52:30 AM UTC, comment #2:

Yup, you're right. It's fixed on 3.82. When I downloaded it, 3.82 wasn't released yet.

You can close this bug. Thanks.

Jesús Martínez Novo <ciencia_al_poder>
Thu 09 Sep 2010 01:41:41 PM UTC, comment #1:

Hm. I specifically set the LC_ALL environment variable to "C" before invoking tests, which is supposed to revert to the built-in strings and avoid all translations.

It may be that the test suite that comes with GNU make 3.81 is not updated in this way. Can you test this with GNU make 3.82 and see if you still see the problem?

Paul D. Smith <psmith>
Project Administrator
Thu 09 Sep 2010 12:51:34 PM UTC, original submission:

Some of the tests fail because they expect to give a specific error message in english, but my language is set to spanish, so expected error messages don't match the real ones.

A way to fix that would be to tell 'make' to use the english messages during the tests. I'm not sure if it's possible to do so.

Diffs for failed tests follows:

; ./tests/work/options/dash-B.diff.5

      • work/options/dash-B.base.5 2010-08-09 17:36:58.000000000 +0200

--- work/options/dash-B.log.5 2010-08-09 17:36:58.000000000 +0200
***************

      • 1,3 ****

MAKE_RESTARTS=
! work/options/dash-B.mk.1:4: foo.x: No such file or directory
MAKE_RESTARTS=1
--- 1,3 ----
MAKE_RESTARTS=
! work/options/dash-B.mk.1:4: foo.x: No existe el fichero o el directorio
MAKE_RESTARTS=1

; ./tests/work/options/dash-B.diff.6

      • work/options/dash-B.base.6 2010-08-09 17:36:58.000000000 +0200

--- work/options/dash-B.log.6 2010-08-09 17:36:58.000000000 +0200
***************

      • 1,5 ****

MAKE_RESTARTS=
! work/options/dash-B.mk.2:4: foo.x: No such file or directory
MAKE_RESTARTS=1
blah.x
all
--- 1,5 ----
MAKE_RESTARTS=
! work/options/dash-B.mk.2:4: foo.x: No existe el fichero o el directorio
MAKE_RESTARTS=1
blah.x
all

; ./tests/work/options/dash-W.diff.5

      • work/options/dash-W.base.5 2010-08-09 17:36:59.000000000 +0200

--- work/options/dash-W.log.5 2010-08-09 17:36:59.000000000 +0200
***************

      • 1,4 ****

! work/options/dash-W.mk.1:3: foo.x: No such file or directory
echo &gt;&gt; bar.x
touch foo.x
restarts=1
--- 1,4 ----
! work/options/dash-W.mk.1:3: foo.x: No existe el fichero o el directorio
echo &gt;&gt; bar.x
touch foo.x
restarts=1

; ./tests/work/options/dash-k.diff.2

      • work/options/dash-k.base.2 2010-08-09 17:37:00.000000000 +0200

--- work/options/dash-k.log.2 2010-08-09 17:37:00.000000000 +0200
***************

      • 1,4 ****

! work/options/dash-k.mk:2: ifile: No such file or directory
make: *** No rule to make target `no-such-file', needed by `ifile'.
make: Failed to remake makefile `ifile'.
hi
--- 1,4 ----
! work/options/dash-k.mk:2: ifile: No existe el fichero o el directorio
make: *** No rule to make target `no-such-file', needed by `ifile'.
make: Failed to remake makefile `ifile'.
hi

; ./tests/work/variables/MAKE_RESTARTS.diff

      • work/variables/MAKE_RESTARTS.base 2010-08-09 17:37:10.000000000 +0200

--- work/variables/MAKE_RESTARTS.log 2010-08-09 17:37:10.000000000 +0200
***************

      • 1,3 ****

MAKE_RESTARTS=
! work/variables/MAKE_RESTARTS.mk:4: foo.x: No such file or directory
MAKE_RESTARTS=1
--- 1,3 ----
MAKE_RESTARTS=
! work/variables/MAKE_RESTARTS.mk:4: foo.x: No existe el fichero o el directorio
MAKE_RESTARTS=1

; ./tests/work/variables/MAKE_RESTARTS.diff.1

      • work/variables/MAKE_RESTARTS.base.1 2010-08-09 17:37:10.000000000 +0200

--- work/variables/MAKE_RESTARTS.log.1 2010-08-09 17:37:10.000000000 +0200
***************

      • 1,5 ****

MAKE_RESTARTS=
! work/variables/MAKE_RESTARTS.mk.1:4: foo.x: No such file or directory
MAKE_RESTARTS=1
! foo.x:1: bar.x: No such file or directory
MAKE_RESTARTS=2
--- 1,5 ----
MAKE_RESTARTS=
! work/variables/MAKE_RESTARTS.mk.1:4: foo.x: No existe el fichero o el directorio
MAKE_RESTARTS=1
! foo.x:1: bar.x: No existe el fichero o el directorio
MAKE_RESTARTS=2

; ./tests/work/variables/MAKE_RESTARTS.diff.2

      • work/variables/MAKE_RESTARTS.base.2 2010-08-09 17:37:10.000000000 +0200

--- work/variables/MAKE_RESTARTS.log.2 2010-08-09 17:37:10.000000000 +0200
***************

      • 1,7 ****

MAKE_RESTARTS=
! work/variables/MAKE_RESTARTS.mk.2:8: foo.x: No such file or directory
MAKE_RESTARTS=1
! foo.x:1: bar.x: No such file or directory
MAKE_RESTARTS=2
recurse MAKE_RESTARTS=
MAKE_RESTARTS=
--- 1,7 ----
MAKE_RESTARTS=
! work/variables/MAKE_RESTARTS.mk.2:8: foo.x: No existe el fichero o el directorio
MAKE_RESTARTS=1
! foo.x:1: bar.x: No existe el fichero o el directorio
MAKE_RESTARTS=2
recurse MAKE_RESTARTS=
MAKE_RESTARTS=

Jesús Martínez Novo <ciencia_al_poder>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by ciencia_al_poder (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 12 Sep 2010 01:42:01 PM UTCpsmithStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>3.82

    Back to the top


    Powered by Savane 3.1-cleanup1