summaryrefslogtreecommitdiff
path: root/tools/regression/xsl_reports/test/run_v1.py
blob: a995ed635d33bd54bbd2b2204ed5d2370f59c986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import sys

sys.path.append( '..' )

import os

import report
import merger
import utils


tag = "1_30_0"

utils.makedirs( "results" )
    
all_xml_file = "results/all.xml"
all_xml_writer = open( all_xml_file, "w" )
merger.merge_test_runs( ".", tag, all_xml_writer )
all_xml_writer.close()

report.make_result_pages( 
      test_results_file = os.path.abspath( all_xml_file )
    , expected_results_file = ""
    , failures_markup_file = os.path.abspath( "explicit-failures-markup.xml" )
    , source = tag
    , run_date = "Today date"
    , comment_file = os.path.abspath( "comment.html" )
    , results_dir = os.path.abspath( "results" )
    , result_prefix = ""
    , reports = [ "l", "dd" ]
    , v2 = 0
    )