[CMakeBot] Deepcopy on test-suite environment

The default shallow copy was messing up the environment of new builds
and wasn't detected because the builds were already prepared on the
lnt buildbots. Tested on my local buildmaster from a fresh build.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@241168 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/zorg/buildbot/builders/ClangBuilder.py b/zorg/buildbot/builders/ClangBuilder.py
index aa01c06..d0da8db 100644
--- a/zorg/buildbot/builders/ClangBuilder.py
+++ b/zorg/buildbot/builders/ClangBuilder.py
@@ -1,5 +1,6 @@
 import buildbot
 import buildbot.process.factory
+import copy
 import os
 
 from buildbot.process.properties import WithProperties, Property
@@ -716,7 +717,7 @@
             if testerName:
                 test_suite_cmd.extend(['--no-machdep-info', testerName])
         # CC and CXX are needed as env for build-tools
-        test_suite_env = env
+        test_suite_env = copy.deepcopy(env)
         test_suite_env['CC'] = cc
         test_suite_env['CXX'] = cxx