Index: runtime/test/lit.cfg =================================================================== --- runtime/test/lit.cfg +++ runtime/test/lit.cfg @@ -104,6 +104,10 @@ if 'Linux' in config.operating_system: config.available_features.add("linux") +# to run with icc INTEL_LICENSE_FILE must be set +if 'INTEL_LICENSE_FILE' in os.environ: + config.environment['INTEL_LICENSE_FILE'] = os.environ['INTEL_LICENSE_FILE'] + # substitutions if config.has_ompt: config.substitutions.append(("FileCheck", config.test_filecheck))