@@ -153,12 +153,16 @@ class TestCopyAndRenameAction(TestCase):
153153 def test_debug_copy_path (self ):
154154 cargo = BinaryPath (None , None , None , binary_path = "path/to/cargo" )
155155 action = CopyAndRenameAction ("source_dir" , "foo" , "output_dir" , "linux" , BuildMode .DEBUG )
156- self .assertEqual (action .binary_path (), os .path .join ("source_dir" , "target" , "debug" , "foo" ))
156+ self .assertEqual (
157+ action .binary_path (), os .path .join ("source_dir" , "target" , "x86_64-unknown-linux-musl" , "debug" , "foo" )
158+ )
157159
158160 def test_release_copy_path (self ):
159161 cargo = BinaryPath (None , None , None , binary_path = "path/to/cargo" )
160162 action = CopyAndRenameAction ("source_dir" , "foo" , "output_dir" , "linux" , BuildMode .RELEASE )
161- self .assertEqual (action .binary_path (), os .path .join ("source_dir" , "target" , "release" , "foo" ))
163+ self .assertEqual (
164+ action .binary_path (), os .path .join ("source_dir" , "target" , "x86_64-unknown-linux-musl" , "release" , "foo" )
165+ )
162166
163167 def test_nonlinux_copy_path (self ):
164168 cargo = BinaryPath (None , None , None , binary_path = "path/to/cargo" )
0 commit comments