[PATCH] D11960: [windows] Always use the lit shell on Windows, even if bash is present
Yaron Keren via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 11 14:59:21 PDT 2015
yaron.keren added a subscriber: yaron.keren.
yaron.keren added a comment.
The bash shell on Windows from MSYS expands anyhting that looks like a relative path, such as /m. It has workaround for switches but not for environment vas so tests using 'env' were failing without any way to fix. In addition, it did not pass environment variable TZ since it does not know how ot map between Unix and Windows TZ. This also broke tests.
Finally, process creation time on Windows is much higher than on Linux so any command that's implemented internally in the lit shell makes the tests go faster. Note that not all bells and whistles of the commands are really used in the tests.
http://reviews.llvm.org/D11960
More information about the llvm-commits
mailing list