hpctoolkit: fix smoke test to use compiler node (#50152)

Signed-off-by: Jonathon Anderson <anderson.jonathonm@gmail.com>
This commit is contained in:
Jonathon Anderson 2025-04-22 10:18:15 -05:00 committed by GitHub
parent 31c5c0b423
commit dbd745bdab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -281,7 +281,7 @@ def setup_run_environment(self, env):
def test_sort(self): def test_sort(self):
"""build and run selection sort unit test""" """build and run selection sort unit test"""
exe = "tst-sort" exe = "tst-sort"
cxx = which(os.environ["CXX"]) cxx = Executable(self["cxx"].cxx)
cxx(self.test_suite.current_test_data_dir.join("sort.cpp"), "-o", exe) cxx(self.test_suite.current_test_data_dir.join("sort.cpp"), "-o", exe)
hpcrun = which("hpcrun") hpcrun = which("hpcrun")