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

Allow data tags with quotes in BM tool upload script

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 2011q1
    • 2011q1
    • Performance tracking
    • None
    • 6efb3cbdc08f93685dff481635a9e4a9997f8017

    Description

      uploadresults.py currently doesn't handle data tags containing single quotes.
      For example, the following results file will not be accepted (note the single quotes around the word "foo"):

      <?xml version="1.0" encoding="ISO-8859-1"?>
      
      <TestCase name="dummyTestCase">
      
      <Environment>
        <QtVersion>4.8.0</QtVersion>
        <QTestVersion>4.8.0</QTestVersion>
      </Environment>
      
      <TestFunction name="constructAndNext">
      <BenchmarkResult metric="WalltimeMilliseconds" tag="[&apos;foo&apos;]" value="54" iterations="32" />
      </TestFunction>
      
      </TestCase>
      
      

      This appears to be the proper way to fix the problem.

      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:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes