Files
gnatcoll-core/testsuite/support/test_python.adb
Nicolas Roche 1af8c1570e Add ability in the testsuite to get location of python executable used
Part of TC15-053

Change-Id: I964ff3fa86a9020f9815381d6e252dc5adf95638
2021-01-26 13:30:03 +01:00

17 lines
351 B
Ada

with Ada.Environment_Variables;
package body Test_Python is
package Env renames Ada.Environment_Variables;
-----------------------
-- Python_Executable --
-----------------------
function Python_Executable return UTF8.UTF_8_String is
begin
return Env.Value ("PYTHON_EXEC_PATH");
end Python_Executable;
end Test_Python;