Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
testing.tools.libcxx_check Namespace Reference

Functions

 _ExtractRevisionFromFile (path, regex)
 
 _GetDepsLibcxxRevision (deps_path)
 
 _GetBuildtoolsLibcxxRevision (buildtools_deps_path)
 
 main ()
 

Detailed Description

Verifies libcxx_revision entries are in sync.

DEPS and buildtools/deps_revisions.gni both have libcxx_revision entries.
Check that they are in sync.

Function Documentation

◆ _ExtractRevisionFromFile()

testing.tools.libcxx_check._ExtractRevisionFromFile ( path,
regex )
protected
Gets the revision by reading path and searching the lines using regex.

Definition at line 15 of file libcxx_check.py.

References open(), and read().

Referenced by testing.tools.libcxx_check._GetBuildtoolsLibcxxRevision(), and testing.tools.libcxx_check._GetDepsLibcxxRevision().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _GetBuildtoolsLibcxxRevision()

testing.tools.libcxx_check._GetBuildtoolsLibcxxRevision ( buildtools_deps_path)
protected
Gets the libcxx_revision from buildtools/deps_revisions.gni.

Definition at line 35 of file libcxx_check.py.

References testing.tools.libcxx_check._ExtractRevisionFromFile().

Referenced by testing.tools.libcxx_check.main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _GetDepsLibcxxRevision()

testing.tools.libcxx_check._GetDepsLibcxxRevision ( deps_path)
protected
Gets the libcxx_revision from DEPS.

Definition at line 29 of file libcxx_check.py.

References testing.tools.libcxx_check._ExtractRevisionFromFile().

Referenced by testing.tools.libcxx_check.main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ main()

testing.tools.libcxx_check.main ( )

Definition at line 41 of file libcxx_check.py.

References testing.tools.libcxx_check._GetBuildtoolsLibcxxRevision(), testing.tools.libcxx_check._GetDepsLibcxxRevision(), testing.tools.libcxx_check.main(), and print().

Referenced by testing.tools.libcxx_check.main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: