Fix typo in python version macro use in renderdoccmd

This commit is contained in:
baldurk
2019-02-15 18:17:34 +00:00
parent 5484bcbf1a
commit 1713dcad1b
+3 -3
View File
@@ -800,7 +800,7 @@ struct TestCommand : public Command
virtual void AddOptions(cmdline::parser &parser)
{
parser.set_footer(
#if PYTHON_MINOR_VERSION > 0
#if PYTHON_VERSION_MINOR > 0
"<unit|functional>"
#else
"<unit>"
@@ -832,9 +832,9 @@ struct TestCommand : public Command
if(mode == "unit")
return RENDERDOC_RunUnitTests("renderdoccmd test unit", convertArgs(rest));
#if PYTHON_MINOR_VERSION > 0
#if PYTHON_VERSION_MINOR > 0
else if(mode == "functional")
return RENDERDOC_RunFunctionalTests(PYTHON_MINOR_VERSION, convertArgs(rest));
return RENDERDOC_RunFunctionalTests(PYTHON_VERSION_MINOR, convertArgs(rest));
#endif
std::cerr << "Unsupported test frame work '" << mode << "'" << std::endl << std::endl;