You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Andrew Black (JIRA)" <ji...@apache.org> on 2006/07/07 18:48:29 UTC

[jira] Created: (STDCXX-254) runall.sh incorrectly invoks test suite executables

runall.sh incorrectly invoks test suite executables
---------------------------------------------------

         Key: STDCXX-254
         URL: http://issues.apache.org/jira/browse/STDCXX-254
     Project: C++ Standard Library
        Type: Bug

  Components: Build  
 Environment: All
    Reporter: Andrew Black


When the run_all.sh script runs a test suite executable, the command used is similar to

./25.partitions -O ./25.partitions.out -L 183 -M " Linux quandry 2.6.14.5 #1 PREEMPT Thu Dec 29 16:01:39 MST 2005 i686 unknown unknown GNU/Linux " -C gcc-3.2.3 > ./25.partitions.out < /dev/null 2>/dev/null &

The problem with this invokation is that the test suite driver issues the following error message on standard error:

error: -O: option available only in compatibility mode

The solution to this problem is to alter the run_all.sh script to pass --compat as an option to the test prior to passing -O, but this causes problems with the run_locale_utils.sh script.  In particular, this script doesn't understand the --compat option, and terminates with a status of 1 as a result.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (STDCXX-254) runall.sh incorrectly invoks test suite executables

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/STDCXX-254?page=all ]

Martin Sebor closed STDCXX-254.
-------------------------------

    Fix Version/s: 4.2
       Resolution: Fixed

Fixed by the referenced patch.

> runall.sh incorrectly invoks test suite executables
> ---------------------------------------------------
>
>                 Key: STDCXX-254
>                 URL: http://issues.apache.org/jira/browse/STDCXX-254
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>         Environment: All
>            Reporter: Andrew Black
>             Fix For: 4.2
>
>         Attachments: xopsfix.diff
>
>
> When the run_all.sh script runs a test suite executable, the command used is similar to
> ./25.partitions -O ./25.partitions.out -L 183 -M " Linux quandry 2.6.14.5 #1 PREEMPT Thu Dec 29 16:01:39 MST 2005 i686 unknown unknown GNU/Linux " -C gcc-3.2.3 > ./25.partitions.out < /dev/null 2>/dev/null &
> The problem with this invokation is that the test suite driver issues the following error message on standard error:
> error: -O: option available only in compatibility mode
> The solution to this problem is to alter the run_all.sh script to pass --compat as an option to the test prior to passing -O, but this causes problems with the run_locale_utils.sh script.  In particular, this script doesn't understand the --compat option, and terminates with a status of 1 as a result.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (STDCXX-254) runall.sh incorrectly invoks test suite executables

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-254:
--------------------------------

             Severity: Runtime Error
    Affects Version/s: 4.1.3

> runall.sh incorrectly invoks test suite executables
> ---------------------------------------------------
>
>                 Key: STDCXX-254
>                 URL: https://issues.apache.org/jira/browse/STDCXX-254
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.3
>         Environment: All
>            Reporter: Andrew Black
>             Fix For: 4.2
>
>         Attachments: xopsfix.diff
>
>
> When the run_all.sh script runs a test suite executable, the command used is similar to
> ./25.partitions -O ./25.partitions.out -L 183 -M " Linux quandry 2.6.14.5 #1 PREEMPT Thu Dec 29 16:01:39 MST 2005 i686 unknown unknown GNU/Linux " -C gcc-3.2.3 > ./25.partitions.out < /dev/null 2>/dev/null &
> The problem with this invokation is that the test suite driver issues the following error message on standard error:
> error: -O: option available only in compatibility mode
> The solution to this problem is to alter the run_all.sh script to pass --compat as an option to the test prior to passing -O, but this causes problems with the run_locale_utils.sh script.  In particular, this script doesn't understand the --compat option, and terminates with a status of 1 as a result.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-254) runall.sh incorrectly invoks test suite executables

Posted by "Andrew Black (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/STDCXX-254?page=all ]

Andrew Black updated STDCXX-254:
--------------------------------

    Attachment: xopsfix.diff

Attached is a (2 line) fix that should resolve this problem.

The --compat option is added to the RUNFLAGS in GNUmakefile.tst (--compat causes problems for building locales if unconditionally included)

The contents of the $XOPTS shell variable is moved prior to the hardcoded options used when invoking child processes in the runall.sh script (needed so that --compat is passed prior to -O for test suite executables)

> runall.sh incorrectly invoks test suite executables
> ---------------------------------------------------
>
>          Key: STDCXX-254
>          URL: http://issues.apache.org/jira/browse/STDCXX-254
>      Project: C++ Standard Library
>         Type: Bug

>   Components: Build
>  Environment: All
>     Reporter: Andrew Black
>  Attachments: xopsfix.diff
>
> When the run_all.sh script runs a test suite executable, the command used is similar to
> ./25.partitions -O ./25.partitions.out -L 183 -M " Linux quandry 2.6.14.5 #1 PREEMPT Thu Dec 29 16:01:39 MST 2005 i686 unknown unknown GNU/Linux " -C gcc-3.2.3 > ./25.partitions.out < /dev/null 2>/dev/null &
> The problem with this invokation is that the test suite driver issues the following error message on standard error:
> error: -O: option available only in compatibility mode
> The solution to this problem is to alter the run_all.sh script to pass --compat as an option to the test prior to passing -O, but this causes problems with the run_locale_utils.sh script.  In particular, this script doesn't understand the --compat option, and terminates with a status of 1 as a result.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira