Skip to content
Snippets Groups Projects
Commit a82d43c2 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Flag to suppress python byte code generation in referenced tests.

parent c9e189cc
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ bool IReferencedTest::runPython(const std::string& py_command)
{
#ifndef _WIN32
std::string sys_command = std::string("PYTHONPATH=") + BUILD_LIB_DIR + " " +
PYTHON_EXECUTABLE + " " + py_command;
PYTHON_EXECUTABLE + " -B " + py_command;
#else
std::string sys_command = std::string("set PYTHONPATH=") + BUILD_LIB_DIR + " & " +
PYTHON_EXECUTABLE + " " + py_command;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment