<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Please, can anybody show me the required steps for running the LLVM regression tests, or point me to a detailed doc?<div class=""><br class=""></div><div class="">I read the available documentation in <a href="https://llvm.org/docs/TestingGuide.html" class="">https://llvm.org/docs/TestingGuide.html</a>  but that's mostly a general description on what’s available rather than an “guide”. </div><div class=""><br class=""></div><div class="">This is what I tried:</div><div class=""><br class=""></div><div class="">- Installed both LLVM and CLANG using CMAKE on a Mac OS X computer. (Sources compiled fine, and everything seems to work as I’m already at the final steps of a custom LLVM target implementation)</div><div class="">- Python 2.7.10 is already installed.</div><div class="">- From the command line (terminal app) I tried to execute python lit.site.cfg.py , however I get the following error:</div><div class=""><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">File "/Users/joan/LLVM+CLANG/build/test/lit.site.cfg.py", line 6, in <module></span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    config.host_triple = "x86_64-apple-darwin16.7.0"</span></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">NameError: name 'config' is not defined</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">There seem to be something obvious that I miss, so any help is appreciated.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Please be aware that I’m an experienced C, C++, Obj-C programmer </span>(now retired) but I do not speak a word of python.</div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Thanks,</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">John</span></div></body></html>