Change request #2264

Don't pipe output of test into /dev/null

Added by Knödlseder Jürgen over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:10/27/2017
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.5.0
Duration:

Description

The output of the command in testing._execute()

    # Execute command and catch any exception
    def _execute(self, cmd):
        """ 
        Execute command
        """ 
        # Execute command, make sure we catch any exception
        try:
            rc = os.system(cmd+' >/dev/null 2>&1')
        except:
            rc = -1

        # Return return code
        return rc

should not go into /dev/null but should be recovered so that in case of an error the result can be traced down somewhere. For the moment it’s very difficult to understand what went wrong.


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen over 6 years ago

  • Status changed from New to Pull request
  • Assigned To set to Knödlseder Jürgen
  • % Done changed from 0 to 100

In case of an error the command, error code and screen output is now written into the test log file.

#2 Updated by Knödlseder Jürgen over 6 years ago

  • Status changed from Pull request to Closed

Code merged into devel.

Also available in: Atom PDF