Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-313

Write a script to time tests and append to a file for further analysis

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • None
    • None
    • None
    • Linux

    Description

      This script serves as a special TESTRUNNER to the 'make check' command.
      Its primary purpose is to measure the time it takes to execute a test and append
      that number to a global file. This file can then be inspected in a spread sheet to
      see the distribution of test execution times etc.
      
      Step 1: Build everything with 'make'. Abort upon build failures.
      Step 2: Invoke 'make check' with this script as the TESTRUNNER so that the
              following is done for each test:
                - Execute the test (passed on command-line args) with a 30 sec timeout.
                - Append the following to a global file:
                    * test case name (and path?)
                    * exit status (# of failed tests)
                    * execution time (secs)
                    * timeout status (0/1)
      Step 3: Import the global file into a spread sheet.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bdo Jo Asplin (Inactive)
            bdo Jo Asplin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes