Index: openmp/trunk/runtime/test/lit.cfg =================================================================== --- openmp/trunk/runtime/test/lit.cfg +++ openmp/trunk/runtime/test/lit.cfg @@ -92,6 +92,10 @@ # for callback.h config.test_cflags += " -I " + config.test_source_root + "/ompt" +# 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))