Got the result like this,
qabuilder@qabuilder:/tmp$ api-sanity-checker -test
testing C library API
library(ies) analysis: [100.00%]
header(s) analysis: [25.00%]
Using C99 compatibility mode
header(s) analysis: [100.00%]
generating tests: 9/9 [100.00%], success/fail: 9/0
see generated test suite in the directory 'tests/libsample_c/1.0/'
for viewing the tests use 'tests/libsample_c/1.0/view_tests.html'
use -build option for building tests
building tests: 9/9 [100.00%], success/fail: 9/0
running tests: 9/9 [100.00%], success/fail: 8/1
creating report ...
see test results in the file:
test_results/libsample_c/1.0/test_results.html
result: SUCCESS (9 test cases, 8 passed, 1 failed)
testing C++ library API
library(ies) analysis: [100.00%]
header(s) analysis: [100.00%]
generating tests: 24/24 [100.00%], success/fail: 24/0
see generated test suite in the directory 'tests/libsample_cpp/1.0/'
for viewing the tests use 'tests/libsample_cpp/1.0/view_tests.html'
use -build option for building tests
building tests: 24/24 [100.00%], success/fail: 24/0
running tests: 24/24 [100.00%], success/fail: 23/1
creating report ...
see test results in the file:
test_results/libsample_cpp/1.0/test_results.html
result: SUCCESS (24 test cases, 23 passed, 1 failed)
Following the steps: $ wget https://github.com/downloads/lvc/api-sanity-checker/api-sanity-checker-1.12.10.tar.gz $ tar -xzf api-sanity-checker-1.12.10.tar.gz $ cd api-sanity-checker-1.12.10 $ sudo perl Makefile.pl -install --prefix=/usr $ cd tmp/ $ api-sanity-checker -test
Got the result like this, qabuilder@qabuilder:/tmp$ api-sanity-checker -test
testing C library API library(ies) analysis: [100.00%] header(s) analysis: [25.00%] Using C99 compatibility mode header(s) analysis: [100.00%] generating tests: 9/9 [100.00%], success/fail: 9/0
running tests: 9/9 [100.00%], success/fail: 8/1
creating report ... see test results in the file: test_results/libsample_c/1.0/test_results.html result: SUCCESS (9 test cases, 8 passed, 1 failed)
testing C++ library API library(ies) analysis: [100.00%] header(s) analysis: [100.00%] generating tests: 24/24 [100.00%], success/fail: 24/0
running tests: 24/24 [100.00%], success/fail: 23/1
creating report ... see test results in the file: test_results/libsample_cpp/1.0/test_results.html result: SUCCESS (24 test cases, 23 passed, 1 failed)
Am seeing a failure in the check test.
please rename to .html to view Testsresult*.txt
test_results_c.txt test_results_cpp.txt