Changeset 38e4f42 in mainline


Ignore:
Timestamp:
2019-11-09T17:16:19Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dcac756
Parents:
bac129a
Message:

Add tests for libipcgfx

Location:
uspace/lib
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/display/test/display.c

    rbac129a r38e4f42  
    9090        async_set_fallback_port_handler(test_display_conn, disp);
    9191
     92        // FIXME This causes this test to be non-reentrant!
    9293        rc = loc_server_register(test_display_server);
    9394        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
     
    116117        async_set_fallback_port_handler(test_display_conn, &resp);
    117118
     119        // FIXME This causes this test to be non-reentrant!
    118120        rc = loc_server_register(test_display_server);
    119121        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
     
    153155        async_set_fallback_port_handler(test_display_conn, &resp);
    154156
     157        // FIXME This causes this test to be non-reentrant!
    155158        rc = loc_server_register(test_display_server);
    156159        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
     
    192195        async_set_fallback_port_handler(test_display_conn, &resp);
    193196
     197        // FIXME This causes this test to be non-reentrant!
    194198        rc = loc_server_register(test_display_server);
    195199        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
     
    232236        async_set_fallback_port_handler(test_display_conn, &resp);
    233237
     238        // FIXME This causes this test to be non-reentrant!
    234239        rc = loc_server_register(test_display_server);
    235240        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
     
    277282        async_set_fallback_port_handler(test_display_conn, &resp);
    278283
     284        // FIXME This causes this test to be non-reentrant!
    279285        rc = loc_server_register(test_display_server);
    280286        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
     
    316322}
    317323
     324/** Test display service connection.
     325 *
     326 * This is very similar to connection handler in the display server.
     327 * XXX This should be folded into display_srv, if possible
     328 */
    318329static void test_display_conn(ipc_call_t *icall, void *arg)
    319330{
  • uspace/lib/ipcgfx/meson.build

    rbac129a r38e4f42  
    3232        'src/server.c'
    3333)
     34
     35test_src = files(
     36        'test/ipcgfx.c',
     37        'test/main.c',
     38)
Note: See TracChangeset for help on using the changeset viewer.