[PATCH] Refactor lit.cfg to use lit.util.which
Paul_Robinson at playstation.sony.com
Tue Mar 4 17:01:08 PST 2014
llvm/test/lit.cfg was doing tool-name substitutions using PATHEXT
and os.path.exists(). Better to use lit.util.which, as a centralized
place that knows path-name quirks.
As a side effect, it's easy to tell if a tool doesn't exist, so I
removed some non-existent tools from the list. (Possibly 'clang'
should also be removed? It shouldn't be used for any LLVM tests...)
Okay to submit?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3458 bytes
More information about the llvm-commits