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

    IMAGE_INSTALL_append += " \
        audiomanager-test \
        "
  2. run all test programs of audioManager

     

    root@qemux86:/opt/tests/audiomanager# ls Am*
    AmControlInterfaceTest  AmRouterTest            AmTelnetServerTest
    AmMapHandlerTest        AmRoutingInterfaceTest
    AmRouterMapTest         AmSocketHandlerTest
    
    root@qemux86:/opt/tests/audiomanager# ./AmTelnetServerTest 
    [==========] Running 4 tests from 1 test case.
    [----------] Global test environment set-up.
    [----------] 4 tests from CAmTelnetServerTest
    [ RUN      ] CAmTelnetServerTest.connectTelnetServer
    [       OK ] CAmTelnetServerTest.connectTelnetServer (7 ms)
    [ RUN      ] CAmTelnetServerTest.sendCmdTelnetServer
    [       OK ] CAmTelnetServerTest.sendCmdTelnetServer (2 ms)
    [ RUN      ] CAmTelnetServerTest.sendDumpCmdTelnetServer
    [       OK ] CAmTelnetServerTest.sendDumpCmdTelnetServer (2 ms)
    [ RUN      ] CAmTelnetServerTest.closeTelnetServerConnection
    [       OK ] CAmTelnetServerTest.closeTelnetServerConnection (0 ms)
    [----------] 4 tests from CAmTelnetServerTest (20 ms total)
    
    [----------] Global test environment tear-down
    [==========] 4 tests from 1 test case ran. (1026 ms total)
    [  PASSED  ] 4 tests.
  • No labels