Changeset 9eb1ff5 in mainline for uspace/lib/pcut/include/pcut/pcut.h


Ignore:
Timestamp:
2017-12-08T14:47:08Z (8 years ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c1694b6b
Parents:
6fb8b2c
Message:

Update PCUT

Updated PCUT to commit 7ce059f.

Notable changes include:

  • overall summary is printed when tests finish
  • when tests passed, the status message does not use the word 'failure'
  • program exit code is zero only when all tests passed

These changes fixes tickets 713 and 714.

http://www.helenos.org/ticket/713
http://www.helenos.org/ticket/714

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcut/include/pcut/pcut.h

    r6fb8b2c r9eb1ff5  
    3636#include <pcut/tests.h>
    3737
     38
     39/** PCUT outcome: test passed. */
     40#define PCUT_OUTCOME_PASS 0
     41
     42/** PCUT outcome: test failed. */
     43#define PCUT_OUTCOME_FAIL 1
     44
     45/** PCUT outcome: test failed unexpectedly. */
     46#define PCUT_OUTCOME_INTERNAL_ERROR 2
     47
     48/** PCUT outcome: invalid invocation of the final program. */
     49#define PCUT_OUTCOME_BAD_INVOCATION 3
     50
     51
    3852#endif
Note: See TracChangeset for help on using the changeset viewer.