From ca39cf30da99d48a429cdec96a113afb78738539 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 6 May 2002 21:09:03 +0000 Subject: [PATCH] Clear environment before testing [SVN r13696] --- test/test_all.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/test_all.py b/test/test_all.py index 25520f139..e94988041 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -1,4 +1,18 @@ #!/usr/bin/python +import os + +# clear environment for testing +# +for s in ( + 'BOOST_ROOT','BOOST_BUILD_PATH','JAM_TOOLSET','BCCROOT', + 'MSVCDir','MSVC','MSVCNT','MINGW','watcom' + ): + + try: + del os.environ[s] + except: + pass + import startup_v1 import startup_v2 import project_test1