Project

General

Profile

Actions

Bug #3632

closed

Test setup error in TestPrivilegeHelper step

Added by Junxiao Shi almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Build
Target version:
Start date:
05/25/2016
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

On a system where privilege drop/elevation is not supported, CI script fails with the following error:

+ sudo ./build/unit-tests-core -t TestPrivilegeHelper -l all -- --log_format2=XML --log_sink2=build/xunit-core-sudo-report.xml
Test setup error: no test cases matching filter

TestPriviledgeHelper test suite is enclosed in #ifdef HAVE_PRIVILEGE_DROP_AND_ELEVATE, which is not defined when privilege drop/elevation is not supported.

In this case, CI script should skip this step, or otherwise catch this "test setup error" and not fail.


Related issues 1 (0 open1 closed)

Related to NFD - Bug #3633: Privilege drop/elevation is not detected on Ubuntu 16.04 with --debugClosedAlex Afanasyev05/25/2016

Actions
Actions #1

Updated by Junxiao Shi almost 8 years ago

  • Related to Bug #3633: Privilege drop/elevation is not detected on Ubuntu 16.04 with --debug added
Actions #2

Updated by Alex Afanasyev almost 8 years ago

  • Status changed from New to Code review
  • Assignee set to Alex Afanasyev
  • % Done changed from 0 to 100
Actions #3

Updated by Junxiao Shi almost 8 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF