python MAINTENANCE do not write cache into the repository
@@ -33,6 +33,8 @@ if(ENABLE_PYTHON_TESTS)
)
set_property(TEST python_${TEST_NAME} PROPERTY ENVIRONMENT TESTS_DIR=${PROJECT_SOURCE_DIR}/tests)
set_property(TEST python_${TEST_NAME} APPEND PROPERTY ENVIRONMENT PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR})
+ # just not to pollute the repository
+ set_property(TEST python_${TEST_NAME} APPEND PROPERTY ENVIRONMENT PYTHONDONTWRITEBYTECODE=1)
endmacro(ADD_PYTHON_TEST)
ADD_PYTHON_TEST(SysrepoBasicTest)
