From e51d939525f179ada5039674142ce16e01868690 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 3 Apr 2017 13:36:08 -0400 Subject: Tests: Avoid generating .pyc files during Server test Avoid writing any files to the source tree during testing. Fixes: #16770 --- Tests/Server/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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}" -- cgit v0.12