run_v1.py

来自「C++的一个好库。。。现在很流行」· Python 代码 · 共 36 行

PY
36
字号
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
    )



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?