scons: fix check environment

if os.environ is a special class the scons.Environment Clone() doesn't
work properly.

show builddir in prepare.sh so we can actually see it works.
This commit is contained in:
Stefan Bühler 2020-08-02 19:22:23 +02:00
parent e012705b43
commit 5515bb2a08
2 changed files with 3 additions and 1 deletions

View File

@ -273,7 +273,7 @@ vars.AddVariables(
)
env = Environment(
ENV = os.environ,
ENV = dict(os.environ), # make sure we have a dict here so .Clone() works properly
variables = vars,
CPPPATH = Split('#sconsbuild/build')
)

View File

@ -10,6 +10,8 @@ if test "x${top_builddir}" = "x"; then
top_builddir=..
fi
echo "Testing in build directory: '${top_builddir}' and cwd: '$(pwd)'"
tmpdir="${top_builddir}/tests/tmp/lighttpd"
# create test-framework