Move some Python libraries into the 'scripts' directory

We're about to want to use them from something else in that directory.
This commit is contained in:
Rupert Swarbrick 2022-04-13 16:24:14 +01:00 committed by hcallahan-lowrisc
parent 58ade762be
commit b504995805
7 changed files with 11 additions and 11 deletions

View file

@ -8,8 +8,8 @@ import junit_xml
import os.path
import sys
import yaml
from test_run_result import (TestRunResult, test_run_result_fields,
check_test_run_result)
from scripts.test_run_result import (TestRunResult, test_run_result_fields,
check_test_run_result)
from typing import List, TextIO

View file

@ -13,8 +13,8 @@ import re
import sys
from typing import Dict, Optional, TextIO, Tuple, Union
from test_entry import TestEntry, get_test_entry
from test_run_result import TestRunResult
from scripts.test_entry import TestEntry, get_test_entry
from scripts.test_run_result import TestRunResult
_CORE_IBEX = os.path.normpath(os.path.join(os.path.dirname(__file__)))
_IBEX_ROOT = os.path.normpath(os.path.join(_CORE_IBEX, '../../..'))

View file

@ -7,8 +7,8 @@ import subprocess
import sys
from typing import Tuple
from sim_cmd import get_simulator_cmd
from test_entry import get_test_entry
from scripts.sim_cmd import get_simulator_cmd
from scripts.test_entry import get_test_entry
_CORE_IBEX = os.path.normpath(os.path.join(os.path.dirname(__file__)))

View file

@ -2,8 +2,8 @@ import logging
import os
import sys
_CORE_IBEX = os.path.normpath(os.path.join(os.path.dirname(__file__)))
_IBEX_ROOT = os.path.normpath(os.path.join(_CORE_IBEX, '../../..'))
_THIS_DIR = os.path.normpath(os.path.join(os.path.dirname(__file__)))
_IBEX_ROOT = os.path.normpath(os.path.join(_THIS_DIR, '../../../..'))
_RISCV_DV_ROOT = os.path.join(_IBEX_ROOT, 'vendor/google_riscv-dv')
_OLD_SYS_PATH = sys.path

View file

@ -2,8 +2,8 @@ import os
import sys
from typing import Dict, List
_CORE_IBEX = os.path.normpath(os.path.join(os.path.dirname(__file__)))
_IBEX_ROOT = os.path.normpath(os.path.join(_CORE_IBEX, '../../..'))
_CORE_IBEX = os.path.normpath(os.path.join(os.path.dirname(__file__), '..'))
_IBEX_ROOT = os.path.normpath(os.path.join(_CORE_IBEX, 3 * '../'))
_RISCV_DV_ROOT = os.path.join(_IBEX_ROOT, 'vendor/google_riscv-dv')
_OLD_SYS_PATH = sys.path

View file

@ -22,7 +22,7 @@ import os
import subprocess
import sys
from sim_cmd import get_simulator_cmd
from scripts.sim_cmd import get_simulator_cmd
_CORE_IBEX = os.path.normpath(os.path.join(os.path.dirname(__file__)))
_IBEX_ROOT = os.path.normpath(os.path.join(_CORE_IBEX, '../../..'))