only use CMDTEST_GCC_TO_TEST

and derive C++ name from the C compiler,
typically "gcc" -> "g++"
This commit is contained in:
Johan Holmberg 2017-07-13 15:38:30 +02:00
parent f524ddcad6
commit b3fae13231

@ -32,7 +32,7 @@ class CMDTEST_gcc < Cmdtest::Testcase
end
def gxx
ENV["CMDTEST_GXX_TO_TEST"] || "g++"
gcc.sub(/gcc$/, "g++")
end
#----------------------------------------