[PATCH] D38010: lit.py: Allow configs and local configs to have a setup_script entry

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 17:42:29 PDT 2017


zturner added inline comments.


================
Comment at: utils/lit/lit/run.py:49
+
+    # FIXME: Copied from TestingConfig.load_from_path
+    data = None
----------------
Maybe move this into a function such as 

```
lit.util.run_inline_script(config, litConfig, setup_script, 
                           {'shared_output' : shared_output})
```

and update `TestingConfig.load_from_path` to call this same function?


Repository:
  rL LLVM

https://reviews.llvm.org/D38010





More information about the llvm-commits mailing list