@@ -128,6 +128,8 @@ static int s_test_platform_build_os_fn(struct aws_allocator *allocator, void *ct
128128 ASSERT_INT_EQUALS (build_os , AWS_PLATFORM_OS_ANDROID );
129129#elif defined(_WIN32 )
130130 ASSERT_INT_EQUALS (build_os , AWS_PLATFORM_OS_WINDOWS );
131+ #elif defined(AWS_OS_BSD )
132+ ASSERT_INT_EQUALS (build_os , AWS_PLATFORM_OS_BSD );
131133#else
132134 ASSERT_INT_EQUALS (build_os , AWS_PLATFORM_OS_UNIX );
133135#endif
@@ -165,6 +167,8 @@ static int s_test_platform_build_os_string_fn(struct aws_allocator *allocator, v
165167 expected_os = aws_byte_cursor_from_c_str ("Android-" );
166168#elif defined(AWS_OS_WINDOWS )
167169 expected_os = aws_byte_cursor_from_c_str ("Windows-" );
170+ #elif defined(AWS_OS_BSD )
171+ expected_os = aws_byte_cursor_from_c_str ("BSD-" );
168172#else
169173 expected_os = aws_byte_cursor_from_c_str ("Unix-" );
170174#endif
@@ -177,7 +181,7 @@ static int s_test_platform_build_os_string_fn(struct aws_allocator *allocator, v
177181#if defined(AWS_ARCH_INTEL )
178182 ASSERT_TRUE (aws_byte_cursor_eq_c_str (& os_string , "intel" ));
179183#elif defined(AWS_ARCH_INTEL_64 )
180- ASSERT_TRUE (aws_byte_cursor_eq_c_str (& os_string , "intel_64 " ));
184+ ASSERT_TRUE (aws_byte_cursor_eq_c_str (& os_string , "intel64 " ));
181185#elif defined(AWS_ARCH_ARM64 )
182186 ASSERT_TRUE (aws_byte_cursor_eq_c_str (& os_string , "arm64" ));
183187#elif defined(AWS_ARCH_ARM32 )
0 commit comments