|
|
@ -1717,7 +1717,7 @@ class LinuxlikeTests(BasePlatformTests): |
|
|
|
p = subprocess.run([ar, 't', outlib], |
|
|
|
p = subprocess.run([ar, 't', outlib], |
|
|
|
stdout=subprocess.PIPE, |
|
|
|
stdout=subprocess.PIPE, |
|
|
|
stderr=subprocess.DEVNULL, |
|
|
|
stderr=subprocess.DEVNULL, |
|
|
|
universal_newlines=True, timeout=1) |
|
|
|
text=True, timeout=1) |
|
|
|
obj_files = p.stdout.strip().split('\n') |
|
|
|
obj_files = p.stdout.strip().split('\n') |
|
|
|
self.assertEqual(len(obj_files), 1) |
|
|
|
self.assertEqual(len(obj_files), 1) |
|
|
|
self.assertTrue(obj_files[0].endswith('-prelink.o')) |
|
|
|
self.assertTrue(obj_files[0].endswith('-prelink.o')) |
|
|
|