Lines Matching refs:os
3 import os
10 import_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
11 import_path = os.path.abspath(os.path.join(import_path, 'utils'))
18 SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__))
19 INPUT_DIR = os.path.join(SCRIPT_DIR, 'input')
20 EXPECTED_DIR = os.path.join(SCRIPT_DIR, 'expected')
22 REF_DUMP_DIR = os.path.join(SCRIPT_DIR, 'reference_dumps')
26 dump_dir = os.path.join(reference_dump_dir, module.arch)
27 os.makedirs(dump_dir, exist_ok=True)
28 dump_path = os.path.join(dump_dir, module.get_dump_name())
68 input_path = os.path.join(INPUT_DIR, name)
69 expected_path = os.path.join(EXPECTED_DIR, name)
93 return os.path.join(REF_DUMP_DIR, module.arch, module.get_dump_name())
311 lsdump = os.path.join(
338 base_dir = os.path.join(
392 dumper_path = os.path.realpath(dumper_path)
393 common_dir = os.path.dirname(os.path.dirname(dumper_path))
397 self.assertEqual(os.path.dirname(resource_dir),
398 os.path.join(common_dir, "lib64", "clang"))
399 self.assertRegex(os.path.basename(resource_dir), r"^[\d.]+$")