1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

Use absolute path to test directory

This commit is contained in:
Alex Forencich 2020-12-28 18:52:47 -08:00
parent 9ab1fb44b1
commit db58c836f6
18 changed files with 18 additions and 18 deletions

View File

@ -204,7 +204,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -204,7 +204,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -150,7 +150,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -226,7 +226,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -222,7 +222,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -152,7 +152,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -160,7 +160,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -242,7 +242,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -205,7 +205,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -220,7 +220,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -196,7 +196,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -204,7 +204,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -191,7 +191,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -196,7 +196,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -227,7 +227,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -208,7 +208,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -183,7 +183,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))

View File

@ -191,7 +191,7 @@ if cocotb.SIM_NAME:
# cocotb-test
tests_dir = os.path.dirname(__file__)
tests_dir = os.path.abspath(os.path.dirname(__file__))
rtl_dir = os.path.abspath(os.path.join(tests_dir, '..', '..', 'rtl'))