Skip to content

Using the method of running bin/reporttests.jl, it appears that xml is not generated #96

@eason2020-yu

Description

@eason2020-yu

When I call reporttests.jl to run to my runtest.jl script using a python call to julia run using a for loop, there are frequent occurrences of the xml file not being generated.
There is no error message, just that the xml file is not generated after the run is completed, so please tell me what could be the cause of this problem.
In real time, even if I don't use parallel run, just for loop call reporttests.jl to run, in centos this kind of poor performance virtual machine also appeared this phenomenon, so I suspect that the problem may be in Testreports.jl package.

  • I hope this will answer my doubts, and I'm grateful to the developers for developing this package.
  • add: my running system is virtual machine ubuntu18.04, 16 cores 32G.
  • Here is the code involved:
def run_julia_tests(package_name):
    run_test_cmd = ["julia", f"scripts/parse_xml/reporttests.jl", f"tests/{package_name}/test/runtests.jl" ]
    subprocess.run(run_test_cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
def run_julia_tests_parallel(pkg_list):
    with Pool(cpu_count()) as pool:
        pool.map(run_julia_tests, [pkg_path.split("\\")[-1] for pkg_path in pkg_list])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions