re-enable tests on GCC (and Clang o_O)

Do these tests run ok once we init the SkSTArray storage first?

Cq-Include-Trybots: luci.skia.skia.primary:Test-Debian10-GCC-GCE-CPU-AVX2-x86-Debug-All-Docker,Test-Debian10-GCC-GCE-CPU-AVX2-x86-Release-All-Docker,Test-Debian10-GCC-GCE-CPU-AVX2-x86_64-Debug-All-Docker,Test-Debian10-GCC-GCE-CPU-AVX2-x86_64-Release-All-Docker
Change-Id: I5009b06ba16edf72692a58a9f2469fd38cefb2a6
Bug: skia:10891
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/333147
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
This commit is contained in:
Mike Klein 2020-11-09 10:31:58 -06:00
parent 0ad52f6a24
commit 61b099bd62

View File

@ -358,7 +358,6 @@ DEF_TEST(TArray, reporter) {
test_construction<SkTArray<int>>(reporter);
test_construction<SkTArray<double>>(reporter);
#ifndef __GNUC__ // TODO(skbug.com/10891): SkSTArray generates bad code in GCC -fstrict-aliasing
test_construction<SkSTArray<1, int>>(reporter);
test_construction<SkSTArray<5, char>>(reporter);
test_construction<SkSTArray<10, float>>(reporter);
@ -373,5 +372,4 @@ DEF_TEST(TArray, reporter) {
test_skstarray_compatibility<SkSTArray<1, long>, SkSTArray<10, long>>(reporter);
test_skstarray_compatibility<SkSTArray<3, double>, SkSTArray<4, double>>(reporter);
test_skstarray_compatibility<SkSTArray<2, short>, SkSTArray<1, short>>(reporter);
#endif
}