@@ -17,13 +17,15 @@ namespace
1717 SECTION (" name" )
1818 {
1919 REQUIRE (platform_name (KnownPlatform::linux_riscv32) == " linux-riscv32" );
20+ REQUIRE (platform_name (KnownPlatform::linux_loongarch64) == " linux-loongarch64" );
2021 REQUIRE (platform_name (KnownPlatform::osx_arm64) == " osx-arm64" );
2122 REQUIRE (platform_name (KnownPlatform::win_64) == " win-64" );
2223 }
2324
2425 SECTION (" parse" )
2526 {
2627 REQUIRE (platform_parse (" linux-armv6l" ) == KnownPlatform::linux_armv6l);
28+ REQUIRE (platform_parse (" linux-loongarch64" ) == KnownPlatform::linux_loongarch64);
2729 REQUIRE (platform_parse (" win-32 " ) == KnownPlatform::win_32);
2830 REQUIRE (platform_parse (" OSX-64" ) == KnownPlatform::osx_64);
2931 REQUIRE (platform_parse (" linus-46" ) == std::nullopt );
@@ -32,10 +34,11 @@ namespace
3234 SECTION (" known_platform" )
3335 {
3436 static constexpr decltype (known_platform_names ()) expected{
35- " noarch" , " linux-32" , " linux-64" , " linux-armv6l" , " linux-armv7l" ,
36- " linux-aarch64" , " linux-ppc64le" , " linux-ppc64" , " linux-s390x" , " linux-riscv32" ,
37- " linux-riscv64" , " osx-64" , " osx-arm64" , " win-32" , " win-64" ,
38- " win-arm64" , " zos-z" ,
37+ " noarch" , " linux-32" , " linux-64" , " linux-armv6l" ,
38+ " linux-armv7l" , " linux-aarch64" , " linux-ppc64le" , " linux-ppc64" ,
39+ " linux-s390x" , " linux-riscv32" , " linux-riscv64" , " linux-loongarch64" ,
40+ " osx-64" , " osx-arm64" , " win-32" , " win-64" ,
41+ " win-arm64" , " zos-z" ,
3942
4043 };
4144 REQUIRE (expected == known_platform_names ());
0 commit comments