Skip to content

Commit dae9e8e

Browse files
Merge pull request #254 from KernelTuner/fix_skip_compiler_test
Compiler backend uses g++ instead of gcc
2 parents 62fe3f5 + b6c095a commit dae9e8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
except Exception:
3232
opencl_present = False
3333

34-
gcc_present = shutil.which("gcc") is not None
34+
gcc_present = shutil.which("g++") is not None
3535
gfortran_present = shutil.which("gfortran") is not None
3636
openmp_present = "libgomp" in subprocess.getoutput(["ldconfig -p | grep libgomp"])
3737
openacc_present = shutil.which("nvc++") is not None
@@ -95,7 +95,7 @@ def skip_backend(backend: str):
9595
elif backend.upper() == "OPENCL" and not opencl_present:
9696
pytest.skip("PyOpenCL not installed or no OpenCL device detected")
9797
elif backend.upper() == "C" and not gcc_present:
98-
pytest.skip("No gcc on PATH")
98+
pytest.skip("No g++ on PATH")
9999
elif backend.upper() == "FORTRAN" and not gfortran_present:
100100
pytest.skip("No gfortran on PATH")
101101
elif backend.upper() == "OPENACC" and not openacc_present:

0 commit comments

Comments
 (0)