summaryrefslogtreecommitdiffstats
path: root/Tests/Server
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-03 17:36:08 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-03 17:36:48 (GMT)
commite51d939525f179ada5039674142ce16e01868690 (patch)
tree311d8a1ca32f932bf5c19672af410112fa9c72cd /Tests/Server
parent18eeed41948b265168497ea3360e7b0d56e8e8a9 (diff)
downloadCMake-e51d939525f179ada5039674142ce16e01868690.zip
CMake-e51d939525f179ada5039674142ce16e01868690.tar.gz
CMake-e51d939525f179ada5039674142ce16e01868690.tar.bz2
Tests: Avoid generating .pyc files during Server test
Avoid writing any files to the source tree during testing. Fixes: #16770
Diffstat (limited to 'Tests/Server')
-rw-r--r--Tests/Server/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/Server/CMakeLists.txt b/Tests/Server/CMakeLists.txt
index 8913406..e7eaa8d 100644
--- a/Tests/Server/CMakeLists.txt
+++ b/Tests/Server/CMakeLists.txt
@@ -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}"