Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions scripts/llnl/common_build_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,7 @@ def get_build_dir(prefix, host_config):


def get_repo_dir():
script_dir = os.path.dirname(os.path.realpath(__file__))
return os.path.abspath(pjoin(script_dir, "../.."))
return os.path.abspath(pjoin(get_script_dir(), "../.."))


def get_build_and_test_root(prefix, timestamp):
Expand Down Expand Up @@ -685,7 +684,7 @@ def get_shared_spot_dir():


def get_uberenv_path():
return pjoin(get_script_dir(), "../uberenv/uberenv.py")
return pjoin(get_repo_dir(), "scripts/uberenv/uberenv.py")


def on_rz():
Expand All @@ -703,7 +702,7 @@ def get_script_dir():
def get_project_name():
global _project_name
if not _project_name:
uberenv_config_path = os.path.abspath(os.path.join(get_script_dir(), "../../.uberenv_config.json"))
uberenv_config_path = pjoin(get_repo_dir(), ".uberenv_config.json")
_project_name = "UNKNOWN_PROJECT"
if os.path.exists(uberenv_config_path):
with open(uberenv_config_path) as json_file:
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ blt_add_executable( NAME serac_driver
)

if (SERAC_ENABLE_TESTS)
set(input_files_dir ${CMAKE_CURRENT_SOURCE_DIR}/../../data/input_files/tests)
set(input_files_dir ${PROJECT_SOURCE_DIR}/data/input_files/tests)

# Run basic test for the Serac driver
blt_add_test(NAME serac_driver_solid
Expand Down