diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-09-29 18:48:33 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-09-29 18:48:33 +0300 |
commit | 72577a3ee3967ef36bd6f6159efa33c0929a1ce4 (patch) | |
tree | 4d9b3001c5240120accea11ed8ec8d19ca9a2368 | |
parent | 6e6f0a34ec4bb03f62626b11adbf78ddf4b9e273 (diff) | |
download | meson-72577a3ee3967ef36bd6f6159efa33c0929a1ce4.zip meson-72577a3ee3967ef36bd6f6159efa33c0929a1ce4.tar.gz meson-72577a3ee3967ef36bd6f6159efa33c0929a1ce4.tar.bz2 |
Do not test install on Windows.
-rwxr-xr-x | run_tests.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py index 411059a..0ddb386 100755 --- a/run_tests.py +++ b/run_tests.py @@ -35,9 +35,20 @@ def platform_fix_filename(fname): if fname.endswith('.so'): return fname[:-2] + 'dylib' return fname.replace('.so.', '.dylib.') + elif platform.system() == 'Windows': + if fname.endswith('.so'): + (p, f) = os.path.split(fname) + f = f[3:-2] + 'dll' + return os.path.join(p, f) + if fname.endswith('.a'): + return fname[:-1] + 'lib' return fname def validate_install(srcdir, installdir): + if platform.system() == 'Windows': + # Don't really know how Windows installs should work + # so skip. + return info_file = os.path.join(srcdir, 'installed_files.txt') expected = {} found = {} |