Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Unit Test from default made binary(Without code change) #37

Closed
phamyphen opened this issue Jul 7, 2018 · 2 comments
Closed

About Unit Test from default made binary(Without code change) #37

phamyphen opened this issue Jul 7, 2018 · 2 comments
Labels
Question Further information is requested

Comments

@phamyphen
Copy link

Hello,

What is the UnitTest binary entry point while running it? Where can we find the list of all test cases for the default UnitTest binary. And how the interface works between tensor flow and ARMNN? Can anyone provide a example to show the mechanism behind it?

Thanks a lot.

@MatteoArm
Copy link
Contributor

Hi @phamyphen,

In the unit tests there is no explicit entry point, that is a main function. the macro BOOST_TEST_MODULE is used instead (https://www.boost.org/doc/libs/1_64_0/libs/test/doc/html/boost_test/utf_reference/link_references/link_boost_test_module_macro.html), which does what BOOST_TEST_MAIN does, plus defines the name of the master test suite.

For a list of all unit tests, you can run the unit test binary with the --list_content option, for example:
<your build path>/armnn/UnitTests --list_content

@Surmeh
Copy link
Contributor

Surmeh commented Aug 3, 2018

Hi @phamyphen,

I hope your question has been answered. Please get in touch if you have any more queries.

Thanks,
Surabhi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants