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)
commitf26de10de77f8a35175910de6c340e502c755e86
treebeafa38beba97d1ded1ae1f8759031e2b13d1b2b
parent5f1b45fffaefb3b4cb7f87e110f8865675f5102c
parent5a5ef772f9067da90a8ddb9ea0b3ab6f18755552
Merge: Updates some tests and the tests.sh script for compatibility with Windows

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>