tests: Customize environment to run test cases
This commit minimizes the impact of running unit tests on the host
system. In particular, the test cases will have its own public info and
TPM.
Change-Id: Ic6e78ebd80dea920806ca1898caa6a2eac30348b
diff --git a/tests/other/wscript b/tests/other/wscript
index 074e72c..805735c 100644
--- a/tests/other/wscript
+++ b/tests/other/wscript
@@ -45,4 +45,5 @@
use='daemon-objects unit-tests-base unit-tests-%s-main' % module,
includes='.',
install_path=None,
+ defines='UNIT_TEST_CONFIG_PATH=\"%s/tmp-files/\"' % bld.bldnode,
)