@@ -329,6 +329,130 @@ def macos_application_test_suite(name):
329329 tags = [name ],
330330 )
331331
332+ analysis_output_group_info_files_test (
333+ name = "{}_dsyms_output_group_files_test_with_spaces" .format (name ),
334+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
335+ output_group_name = "dsyms" ,
336+ expected_outputs = [
337+ "app with space.app.dSYM/Contents/Info.plist" ,
338+ "app with space.app.dSYM/Contents/Resources/DWARF/app with space_x86_64" ,
339+ "app with space.app.dSYM/Contents/Resources/DWARF/app with space_arm64" ,
340+ ],
341+ tags = [name ],
342+ )
343+ analysis_output_group_info_dsymutil_bundle_files_test (
344+ name = "{}_dsyms_output_group_dsymutil_bundle_files_test_with_spaces" .format (name ),
345+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
346+ output_group_name = "dsyms" ,
347+ expected_outputs = [
348+ "app with space.app.dSYM" ,
349+ ],
350+ tags = [name ],
351+ )
352+ apple_dsym_bundle_info_test (
353+ name = "{}_dsym_bundle_info_files_test_with_spaces" .format (name ),
354+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
355+ expected_direct_dsyms = [
356+ "dSYMs/app with space.app.dSYM" ,
357+ ],
358+ expected_transitive_dsyms = [
359+ "dSYMs/app with space.app.dSYM" ,
360+ ],
361+ tags = [name ],
362+ )
363+ apple_dsym_bundle_info_dsymutil_bundle_test (
364+ name = "{}_dsym_bundle_info_dsymutil_bundle_files_test_with_spaces" .format (name ),
365+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
366+ expected_direct_dsyms = [
367+ "app with space.app.dSYM" ,
368+ ],
369+ expected_transitive_dsyms = [
370+ "app with space.app.dSYM" ,
371+ ],
372+ tags = [name ],
373+ )
374+
375+ analysis_runfiles_dsym_test (
376+ name = "{}_runfiles_dsym_test_with_spaces" .format (name ),
377+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
378+ expected_runfiles = [
379+ "third_party/bazel_rules/rules_apple/test/starlark_tests/targets_under_test/macos/app with space.app.dSYM/Contents/Resources/DWARF/app with space_arm64" ,
380+ "third_party/bazel_rules/rules_apple/test/starlark_tests/targets_under_test/macos/app with space.app.dSYM/Contents/Info.plist" ,
381+ ],
382+ tags = [name ],
383+ )
384+
385+ analysis_runfiles_dsymutil_bundle_test (
386+ name = "{}_runfiles_dsymutil_bundle_test_with_spaces" .format (name ),
387+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
388+ expected_runfiles = [
389+ "third_party/bazel_rules/rules_apple/test/starlark_tests/targets_under_test/macos/app with space.app.dSYM" ,
390+ ],
391+ tags = [name ],
392+ )
393+
394+ analysis_output_group_info_files_test (
395+ name = "{}_dsyms_output_group_files_test_with_bundle_name_spaces" .format (name ),
396+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
397+ output_group_name = "dsyms" ,
398+ expected_outputs = [
399+ "app with space.app.dSYM/Contents/Info.plist" ,
400+ "app with space.app.dSYM/Contents/Resources/DWARF/app with space_x86_64" ,
401+ "app with space.app.dSYM/Contents/Resources/DWARF/app with space_arm64" ,
402+ ],
403+ tags = [name ],
404+ )
405+ analysis_output_group_info_dsymutil_bundle_files_test (
406+ name = "{}_dsyms_output_group_dsymutil_bundle_files_test_with_bundle_name_spaces" .format (name ),
407+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
408+ output_group_name = "dsyms" ,
409+ expected_outputs = [
410+ "app with space.app.dSYM" ,
411+ ],
412+ tags = [name ],
413+ )
414+ apple_dsym_bundle_info_test (
415+ name = "{}_dsym_bundle_info_files_test_with_bundle_name_spaces" .format (name ),
416+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
417+ expected_direct_dsyms = [
418+ "dSYMs/app with space.app.dSYM" ,
419+ ],
420+ expected_transitive_dsyms = [
421+ "dSYMs/app with space.app.dSYM" ,
422+ ],
423+ tags = [name ],
424+ )
425+ apple_dsym_bundle_info_dsymutil_bundle_test (
426+ name = "{}_dsym_bundle_info_dsymutil_bundle_files_test_with_bundle_name_spaces" .format (name ),
427+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
428+ expected_direct_dsyms = [
429+ "app with space.app.dSYM" ,
430+ ],
431+ expected_transitive_dsyms = [
432+ "app with space.app.dSYM" ,
433+ ],
434+ tags = [name ],
435+ )
436+
437+ analysis_runfiles_dsym_test (
438+ name = "{}_runfiles_dsym_test_with_bundle_name_spaces" .format (name ),
439+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
440+ expected_runfiles = [
441+ "third_party/bazel_rules/rules_apple/test/starlark_tests/targets_under_test/macos/app with space.app.dSYM/Contents/Resources/DWARF/app with space_arm64" ,
442+ "third_party/bazel_rules/rules_apple/test/starlark_tests/targets_under_test/macos/app with space.app.dSYM/Contents/Info.plist" ,
443+ ],
444+ tags = [name ],
445+ )
446+
447+ analysis_runfiles_dsymutil_bundle_test (
448+ name = "{}_runfiles_dsymutil_bundle_test_with_bundle_name_spaces" .format (name ),
449+ target_under_test = "//test/starlark_tests/targets_under_test/macos:app_with_space" ,
450+ expected_runfiles = [
451+ "third_party/bazel_rules/rules_apple/test/starlark_tests/targets_under_test/macos/app_with_space.app.dSYM" ,
452+ ],
453+ tags = [name ],
454+ )
455+
332456 infoplist_contents_test (
333457 name = "{}_plist_test" .format (name ),
334458 target_under_test = "//test/starlark_tests/targets_under_test/macos:app" ,
0 commit comments