[CMake] CDash using xml directly

Paul Anton Letnes paul.anton.letnes at gmail.com
Tue Oct 11 10:02:21 EDT 2011


Hi!

I am interested in using the CDash (e.g. my.cdash.org) infrastructure for running tests of a python package. The build steps may not make sense, especially as the project does not use CMake. However, I have found instructions online on how to generate the XML expected by CDash, and figured that I should be able to upload it directly to CDash. Can anyone give me a hint as to how I would go about doing this? Doing it directly from a python script would be best; doing it from the command line in *nix would be a good number two.

For now, my XML looks like that in the bottom of this e-mail.

Best regards
Paul


<?xml version="1.0" standalone="yes"?>
<Site BuildName="darwin" Name="courant.phys.ntnu.no">
  <Testing>
    <StartDateTime>Tue Oct 11 15:51:14 2011</StartDateTime>
    <TestList>
      <Test>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, 1, inf, inf, inf)</Test>
      <Test>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, -1, inf, inf, inf)</Test>
      <Test>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, 0.0, inf, inf, inf)</Test>
      <Test>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, -0.0, inf, inf, inf)</Test>
      <Test>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, inf, inf, inf, inf)</Test>
      <Test>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, -inf, inf, inf, inf)</Test>
      <Test>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, nan, inf, inf, inf)</Test>
      <Test>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, -inf, 1, 0.0, inf)</Test>
    </TestList>
    <Test Status="Failed">
      <Name>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, 1, inf, inf, inf)</Name>
    </Test>
    <Test Status="Failed">
      <Name>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, -1, inf, inf, inf)</Name>
    </Test>
    <Test Status="Failed">
      <Name>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, 0.0, inf, inf, inf)</Name>
    </Test>
    <Test Status="Failed">
      <Name>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, -0.0, inf, inf, inf)</Name>
    </Test>
    <Test Status="Failed">
      <Name>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, inf, inf, inf, inf)</Name>
    </Test>
    <Test Status="Failed">
      <Name>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, -inf, inf, inf, inf)</Name>
    </Test>
    <Test Status="Failed">
      <Name>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, nan, inf, inf, inf)</Name>
    </Test>
    <Test Status="Failed">
      <Name>test_umath_complex.TestCsqrt.test_special_values(&lt;ufunc 'sqrt'&gt;, -inf, 1, 0.0, inf)</Name>
    </Test>
  </Testing>
</Site>



More information about the CMake mailing list