Place scons temp files under build dir also
diff --git a/tests/SConstruct b/tests/SConstruct
index 880f49e..e62e61b 100644
--- a/tests/SConstruct
+++ b/tests/SConstruct
@@ -21,6 +21,8 @@
 
 import os
 env = Environment(ENV = os.environ, tools = ['default', 'nanopb'])
+env.SConsignFile("build/sconsign")
+env.Replace(CONFIGUREDIR = "build/config")
 
 if ARGUMENTS.get('PLATFORM') == 'STM32':
     set_stm32_platform(env)
@@ -200,7 +202,7 @@
 env.SetDefault(LINKLIBS = '')
 env.Replace(LINKCOM = env['LINKCOM'] + " $LINKLIBS")
 
-# Now include the SConscript files from all subdirectories
+# Place build files under separate folder
 import os.path
 env['VARIANT_DIR'] = 'build'
 env['BUILD'] = '#' + env['VARIANT_DIR']
@@ -210,6 +212,7 @@
 # to other SConscripts.
 SConscript("common/SConscript", exports = 'env', variant_dir = env['VARIANT_DIR'] + '/common')
 
+# Now include the SConscript files from all subdirectories
 for subdir in Glob('*/SConscript') + Glob('regression/*/SConscript'):
     if str(subdir).startswith("common/"): continue
     if str(subdir).startswith("common\\"): continue