We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e7df6b commit a6e1880Copy full SHA for a6e1880
Utilities/ReleaseScripts/test/gdb/test-gdb-python.sh
@@ -1,6 +1,7 @@
1
#!/bin/bash -ex
2
gdb_python=$(gdb -q -ex 'python exec("import sys;print(sys.executable)")' -ex quit)
3
-cmssw_python=$(scram tool tag python3 PYTHON3_BASE)/bin/python
+cmssw_python=$(scram tool tag python3 PYTHON3_BASE)/bin
4
+cmssw_python=$(realpath ${cmssw_python})/python
5
if [ "${gdb_python}" != "${cmssw_python}" ] ; then
6
echo "python used by GDB and CMSSW are not same"
7
exit 1
0 commit comments