File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -818,13 +818,15 @@ def test_print_libgcc_file_name(self, args):
818
818
expected = os.path.join(libdir, 'libcompiler_rt.a')
819
819
self.assertEqual(output.strip(), expected)
820
820
821
+ @crossplatform
821
822
def test_print_resource_dir(self):
822
823
output = self.run_process([EMCC, '-print-resource-dir'], stdout=PIPE).stdout
823
824
print(output)
824
825
lines = output.strip().splitlines()
825
826
self.assertEqual(len(lines), 1)
826
- resource_dir = lines[0]
827
- self.assertContained(os.path.dirname(config.LLVM_ROOT), resource_dir)
827
+ resource_dir = os.path.normcase(lines[0])
828
+ llvm_root = os.path.normcase(os.path.dirname(config.LLVM_ROOT))
829
+ self.assertContained(llvm_root, resource_dir)
828
830
829
831
@crossplatform
830
832
@parameterized({
You can’t perform that action at this time.
0 commit comments