Skip to content

Commit

Permalink
more pytest path fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
shanedsnyder committed May 2, 2024
1 parent 7c67cf5 commit 2574ca6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions darshan-test/python_runtime_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ def test_runtime_heatmap_div_by_zero(tmpdir):
"CLOCK_REALTIME_COARSE"))

new_install_path = os.path.join(cwd, "darshan", "darshan_install")
os.chdir(os.path.join("darshan", "darshan-runtime", "darshan_build"))
os.chdir(os.path.join("darshan", "darshan_build", "darshan-runtime"))
myenv = os.environ.copy()
myenv["CC"] = "mpicc"
subprocess.check_output(["../configure",
subprocess.check_output(["../../darshan-runtime/configure",
f"--prefix={new_install_path}",
"--with-log-path-by-env=DARSHAN_LOGPATH",
"--with-jobid-env=SLURM_JOBID"],
"--with-jobid-env=NONE"],
env=myenv)
subprocess.check_output(["make"], env=myenv)
subprocess.check_output(["make",
Expand Down

0 comments on commit 2574ca6

Please sign in to comment.