Merge: Updates some tests and the tests.sh script for compatibility with Windows
authorJean Privat <jean@pryen.org>
Thu, 24 Nov 2016 19:21:56 +0000 (14:21 -0500)
committerJean Privat <jean@pryen.org>
Thu, 24 Nov 2016 19:21:56 +0000 (14:21 -0500)
This is part of the ongoing effort to make Nit work under Windows using msys2 / mingw64, this time we look at tests and support tools.

* Tweak tests.sh to work correctly on Windows: diff ignore CR, don't use -s on hostname from coreutils and don't use the $tmp variable as it overwrites an environment variable.
* Make the very badly named test a bit less bad so its path is valid on Windows.
* Fix the pkg-config annotation behavior on multiple arguments and fix its broken tests. (This is not directly related to Windows support, but valid tests will help to debug.)
* As a bonus, fix the repeated typo *boostrap*.

Pull-Request: #2330
Reviewed-by: Jean-Christophe Beaupré <jcbrinfo.public@gmail.com>
Reviewed-by: Romain Chanoir <romain.chanoir@viacesi.fr>


Trivial merge