| from typing import Dict, List, Set |
| HOME_DIR = os.environ["HOME"] |
| TOOLS_FOLDER = str(Path(__file__).resolve().parents[2]) |
| PROFILE_DIR = os.path.join(TOOLS_FOLDER, "profile") |
| JSON_FOLDER_BASE_DIR = os.path.join(PROFILE_DIR, "json") |
| MERGED_FOLDER_BASE_DIR = os.path.join(PROFILE_DIR, "merged") |
| SUMMARY_FOLDER_DIR = os.path.join(PROFILE_DIR, "summary") |
| LOG_DIR = os.path.join(PROFILE_DIR, "log") |
| # test type, DO NOT change the name, it should be consistent with [buck query --output-attribute] result |
| test_set: str # like __aten__ |
| self, name: str, target_pattern: str, test_set: str, test_type: TestType |
| self.target_pattern = target_pattern |
| self.test_type = test_type |
| TestStatusType = Dict[str, Set[str]] |
| need_export: bool = False |
| need_summary: bool = False |
| need_pytest: bool = False |
| class TestPlatform(Enum): |
| class CompilerType(Enum): |