Work around an encoding/locale issue when the dashboard tests are run
(ubuntu 20.04).
The build.py changes brought in
a9d1c62ca86 were validated for package
builds, teuthology, and other CI jobs but a different error was masking
this failure in the dashboard ci job.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
env = os.environ.copy()
env['CC'] = '/bin/false'
env['CXX'] = '/bin/false'
+ env['LC_ALL'] = 'C.UTF-8' # work around some env issues with pip
if env.get('PYTHONPATH'):
env['PYTHONPATH'] = env['PYTHONPATH'] + f':{tempdir}'
else: