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


Ignore:
Timestamp:
2017-12-08T14:47:08Z (6 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/src/internal.h

    r6fb8b2c r9eb1ff5  
    7979#define PCUT_RUN_MODE_SINGLE 2
    8080
    81 /** Test outcome: test passed. */
    82 #define TEST_OUTCOME_PASS 1
    83 
    84 /** Test outcome: test failed. */
    85 #define TEST_OUTCOME_FAIL 2
    86 
    87 /** Test outcome: test failed unexpectedly. */
    88 #define TEST_OUTCOME_ERROR 3
    89 
    90 
    9181/*
    9282 * Use sprintf_s in Windows but only with Microsoft compiler.
     
    10999int pcut_is_arg_with_number(const char *arg, const char *opt, int *value);
    110100
    111 void pcut_run_test_forking(const char *self_path, pcut_item_t *test);
     101int pcut_run_test_forking(const char *self_path, pcut_item_t *test);
    112102int pcut_run_test_forked(pcut_item_t *test);
    113103int pcut_run_test_single(pcut_item_t *test);
Note: See TracChangeset for help on using the changeset viewer.