Set CLING_NOHISTORY when running tests.

This commit is contained in:
Frederich Munch 2016-08-10 04:30:07 -04:00 committed by sftnight
parent e3265d1d8c
commit a7f5c1719e

View File

@ -252,6 +252,9 @@ else:
if not lit_config.quiet:
lit_config.note('Running tests from installation')
#Don't add tests to history
os.environ['CLING_NOHISTORY'] = '1'
# FIXME: Find nicer way to prohibit this.
config.substitutions.append(
(' cling ', """*** Do not use 'cling' in tests, use '%cling'. ***""") )