Project

General

Profile

Actions

Task #2252

closed

Update jenkins configs to publish results of unit tests in XML format (xUnit)

Added by Alex Afanasyev over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Build
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
2.00 h

Description

There are several parts of this task:

  • update .jenkins.d/20-tests.sh to generate output in XML format when XUNIT environment variable is set (similar to script in ndn-cxx)

  • update tests/wscript:

    • make sure that main.cpp is compiled separately for core, daemon, rib
    • each compilation defines different BOOST_TEST_MODULE

      defines=['BOOST_TEST_MODULE=NFD Core Tests'],
      
      defines=['BOOST_TEST_MODULE=NFD Daemon Tests'],
      
      defines=['BOOST_TEST_MODULE=NFD RIB Tests'],
      
  • update Jenkins configuration to run XUNIT=true ./.jenkins and then publish xUnit reports

Actions

Also available in: Atom PDF