[Patch][libstdc++.exp] Update the usage of cached result.
authorRenlin Li <renlin.li@arm.com>
Fri, 16 Nov 2018 14:36:40 +0000 (14:36 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Fri, 16 Nov 2018 14:36:40 +0000 (14:36 +0000)
commitac28df7e539038f3a1a34902c4bd5c8441a86f02
treef9e0cef1307c92f1e5d0f3636c34d882d7dcf132
parenta0b48080020f344b3d594f31546c714564a061c7
[Patch][libstdc++.exp] Update the usage of cached result.

This patch replaces the usage of cached results with a global dictionary.

Additionally, check_v3_target_namedlocale is updated to check on every variant.
Originally, it is only checked once.

gcc/libstdc++-v3/:
2018-11-16  Renlin Li  <renlin.li@arm.com>
    Tejas Belagod  <tejas.belagod@arm.com>

testsuite/lib/libstdc++.exp (check_v3_target_prop_cached): New proc.
(check_v3_target): Use check_v3_target_prop_cached.

Co-Authored-By: Tejas Belagod <tejas.belagod@arm.com>
From-SVN: r266209
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/libstdc++.exp