brintos

brintos / llvm-project-archived public Read only

0
0
Text · 518 B · c41797c Raw
16 lines · python
1# DExTer : Debugging Experience Tester2# ~~~~~~   ~         ~~         ~   ~~3#4# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.5# See https://llvm.org/LICENSE.txt for license information.6# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7"""Utility functions related to DExTer's directory layout."""8 9import os10 11 12def get_root_directory():13    root = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))14    assert os.path.basename(root) == "dex", root15    return root16