get_architecture_value and ndk_platform_triple is no longer used in test/lit.cfg and can be removed #63907
Labels
Android
Platform: Android
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
cross-compilation
Area → utils: Cross-compilation of project sources
test suite
Area: test suite
Description
I configured pylance for lit config scripts in the
test
directory and find that in current main branch, at the line 1572 of the file test/lit.cfg there is:which should be:
which make the variable
ndk_platform_triple
below receives incorrect value.The variable
ndk_platform_triple
is introduced in the pull request [android] Modify test scripts for aarch64 and modern NDKs. but the use sites of the variablendk_platform_triple
are removed in the pull request [android] Modify test scripts for aarch64 and modern NDKs. and [android] Update to NDK 23b. Thus theget_architecture_value
function andndk_platform_triple
could be removed now.Environment
swift main branch, test/lit.cfg
The text was updated successfully, but these errors were encountered: