From 3b76ebd5605488e0489938bd9326cf51c8be56c1 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Thu, 29 Mar 2018 03:12:19 +0000 Subject: Fixup API check Fixup API check filename after fpdf_view_c_api_test was moved. TBR: hnakashima@chromium.org Change-Id: I49f1015616cb8c8a5d6a9f0646f1e19e8ed94779 Reviewed-on: https://pdfium-review.googlesource.com/29470 Reviewed-by: dsinclair Commit-Queue: dsinclair --- testing/tools/api_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/tools/api_check.py b/testing/tools/api_check.py index c41701e0b8..e88af144c6 100755 --- a/testing/tools/api_check.py +++ b/testing/tools/api_check.py @@ -3,7 +3,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -"""Verifies exported functions in public/*.h are in fpdfview_c_api_test.c. +"""Verifies exported functions in public/*.h are in fpdf_view_c_api_test.c. This script gathers a list of functions from public/*.h that contain FPDF_EXPORT. It then gathers a list of functions from @@ -101,7 +101,7 @@ def main(): src_path = os.path.dirname(os.path.dirname(os.path.dirname(script_abspath))) public_functions = _GetFunctionsFromPublicHeaders(src_path) - api_test_relative_path = os.path.join('fpdfsdk', 'fpdfview_c_api_test.c') + api_test_relative_path = os.path.join('fpdfsdk', 'fpdf_view_c_api_test.c') api_test_path = os.path.join(src_path, api_test_relative_path) test_functions = _GetFunctionsFromTest(api_test_path) -- cgit v1.2.3