Merge topic 'server-mode-test-no-pyc'

e51d9395 Tests: Avoid generating .pyc files during Server test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !659
This commit is contained in:
Brad King 2017-04-04 13:17:38 +00:00 committed by Kitware Robot
commit 1c8775c99f

View File

@ -5,6 +5,7 @@ find_package(PythonInterp REQUIRED)
macro(do_test bsname file)
execute_process(COMMAND ${PYTHON_EXECUTABLE}
-B # no .pyc files
"${CMAKE_SOURCE_DIR}/server-test.py"
"${CMAKE_COMMAND}"
"${CMAKE_SOURCE_DIR}/${file}"