Lines Matching refs:cls
30 def setUpClass(cls): argument
31 cls.targets = create_targets()
34 cls.test_dir_base = test_dir_base
36 cls.tmp_dir = TemporaryDirectory()
37 cls.test_dir_base = cls.tmp_dir.name
39 cls._build_fixtures(cls.target_name)
43 def tearDownClass(cls): argument
45 cls.tmp_dir.cleanup()
49 def _build_fixtures(cls, target_name): argument
50 target = cls.targets[target_name]
52 cls.expected_dir = os.path.join(EXPECTED_DIR, target_name)
53 cls.test_dir = os.path.join(cls.test_dir_base, target_name)
55 makedirs(cls.test_dir, exist_ok=True)
59 obj_file = os.path.join(cls.test_dir, 'main.o')
63 out_file = os.path.join(cls.test_dir, 'main.out')
68 obj_file = os.path.join(cls.test_dir, 'test.o')
72 out_file = os.path.join(cls.test_dir, 'libtest.so')
76 out_file = os.path.join(cls.test_dir, 'libtest-rpath.so')
82 out_file = os.path.join(cls.test_dir, 'libtest-rpath-multi.so')
88 out_file = os.path.join(cls.test_dir, 'libtest-runpath.so')
94 out_file = os.path.join(cls.test_dir, 'libtest-runpath-multi.so')