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

API Sanity checker test build failing. #19

Open
shaheenanjum opened this issue Aug 22, 2014 · 1 comment
Open

API Sanity checker test build failing. #19

shaheenanjum opened this issue Aug 22, 2014 · 1 comment

Comments

@shaheenanjum
Copy link

Hi,
I am trying to genrate and build test cases for Lib B that depends on Lib A.
The test case generation is successfully happening , but all the test build is failing.

Here is the output:
./api-sanity-checker -lib sanity -d /home/version.xml -gen -build
Using GCC 4.3 (x86_64-suse-linux, target: x86_64)
checking header(s) 1.0 ...
ERROR: some errors occurred when compiling headers
ERROR: see log for details:
/home/API_SANITY_CHECKER/usr/bin/logs/sanity/1.0/log.txt

creating library ABI dump ...
library ABI has been dumped to:
/tmp/HmVG2SRoU8/ABI.dump
you can transfer this dump everywhere and use instead of the 1.0 version descriptor
generating tests: 297/297 [100.00%], success/fail: 297/0

  1. see generated test suite in the directory 'tests/sanity/1.0/'
  2. for viewing tests use 'tests/sanity/1.0/view_tests.html'
  3. use -build option for building tests

building tests: 297/297 [100.00%], success/fail: 0/297

In the ouput of all the build_log file i get "undefined_reference" errors.

Request inputs on this.
Thanks.

@lvc
Copy link
Owner

lvc commented Aug 14, 2015

Hello,

Such errors can be fixed by adding add_include_paths and libs_depend options to the input XML descriptor. See http://lvc.github.io/api-sanity-checker/Xml-Descriptor.html for details.

Can I get the source code of your library somewhere in order to debug the issue?

Thank you.

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

No branches or pull requests

2 participants