Skip to end of metadata
Go to start of metadata
  1. install *-test at build/conf/local.conf

    IMAGE_INSTALL_append += " \
        persistence-common-object-test \
        "
  2. run system services

    systemctl restart dlt
    systemctl start dlt-dbus
    systemctl start dlt-example-user
    systemctl start pas-daemon
    systemctl start node-startup-controller
  3. run test program

    root@qemux86:~#/opt/tests/persistence-common-object/ test_pco_key_value_store 
    Running suite(s): Persistence-common-object-test
    INFO: Waiting for child process to exit ... 
    INFO: Waiting for child process to exit ... 
    100%: Checks: 22, Failures: 0, Errors: 0
    test_pco_key_value_store.c:199:P:OpenlocalDB:test_OpenLocalDB:0: Passed
    test_pco_key_value_store.c:267:P:OpenRCT:test_OpenRCT:0: Passed
    test_pco_key_value_store.c:474:P:SetDataLocalDB:test_SetDataLocalDB:0: Passed
    test_pco_key_value_store.c:560:P:GetDataLocalDB:test_GetDataLocalDB:0: Passed
    test_pco_key_value_store.c:1218:P:SetDataRCT:test_SetDataRCT:0: Passed
    test_pco_key_value_store.c:1368:P:GetDataRCT:test_GetDataRCT:0: Passed
    test_pco_key_value_store.c:1432:P:GetDataSize:test_GetDataSize:0: Passed
    test_pco_key_value_store.c:1694:P:DeleteDataLocalDB:test_DeleteDataLocalDB:0: Passed
    test_pco_key_value_store.c:1839:P:DeleteDataRct:test_DeleteDataRct:0: Passed
    test_pco_key_value_store.c:661:P:GetKeyListSizeLocalDb:test_GetKeyListSizeLocalDB:0: Passed
    test_pco_key_value_store.c:810:P:GetKeyListLocalDb:test_GetKeyListLocalDB:0: Passed
    test_pco_key_value_store.c:927:P:GetResourceListSizeRct:test_GetResourceListSizeRct:0: Passed
    test_pco_key_value_store.c:1091:P:GetResourceListRct:test_GetResourceListRct:0: Passed
    test_pco_key_value_store.c:2186:P:CacheSize:test_CacheSize:0: Passed
    test_pco_key_value_store.c:1959:P:CachedConcurrentAccess:test_CachedConcurrentAccess:0: Passed
    test_pco_key_value_store.c:2348:P:BadParameters:test_BadParameters:0: Passed
    test_pco_key_value_store.c:2527:P:RebuildHashtables:test_RebuildHashtables:0: Passed
    test_pco_key_value_store.c:2659:P:RecoverDatablocks:test_RecoverDatablocks:0: Passed
    test_pco_key_value_store.c:2745:P:LinkedDatabase:test_LinkedDatabase:0: Passed
    test_pco_key_value_store.c:378:P:ReadOnlyDatabase:test_ReadOnlyDatabase:0: Passed
    test_pco_key_value_store.c:2832:P:MultipleWrites:test_MultipleWrites:0: Passed
    test_pco_key_value_store.c:2947:P:WriteThrough:test_WriteThrough:0: Passed
  • No labels