@@ -689,6 +689,12 @@ def test_core_list_platform_without_platform_txt(run_command, data_dir):
689
689
assert core ["name" ] == "some-packager-some-arch"
690
690
691
691
692
+ @pytest .mark .skipif (
693
+ platform .system () in ["Darwin" , "Windows" ],
694
+ reason = "macOS by default is case insensitive https://github.com/actions/virtual-environments/issues/865 "
695
+ + "Windows too is case insensitive"
696
+ + "https://stackoverflow.com/questions/7199039/file-paths-in-windows-environment-not-case-sensitive" ,
697
+ )
692
698
def test_core_download_multiple_platforms (run_command , data_dir ):
693
699
assert run_command (["update" ])
694
700
@@ -705,11 +711,10 @@ def test_core_download_multiple_platforms(run_command, data_dir):
705
711
boards_txt .touch ()
706
712
assert boards_txt .write_bytes (test_boards_txt .read_bytes ())
707
713
708
- test_boards_txt = Path (__file__ ).parent / "testdata" / "boards.local.txt"
709
- boards_txt = Path (data_dir , "packages" , "packager" , "hardware" , "arch" , "1.0.0" , "boards.txt" )
710
- boards_txt .parent .mkdir (parents = True , exist_ok = True )
711
- boards_txt .touch ()
712
- assert boards_txt .write_bytes (test_boards_txt .read_bytes ())
714
+ boards_txt1 = Path (data_dir , "packages" , "packager" , "hardware" , "arch" , "1.0.0" , "boards.txt" )
715
+ boards_txt1 .parent .mkdir (parents = True , exist_ok = True )
716
+ boards_txt1 .touch ()
717
+ assert boards_txt1 .write_bytes (test_boards_txt .read_bytes ())
713
718
714
719
# Verifies the two cores are detected
715
720
res = run_command (["core" , "list" , "--format" , "json" ])
0 commit comments