Skip test_freetype and test_poppler on Windows, since they depend on a unix-specific build system.

This commit is contained in:
Jukka Jylänki 2015-09-02 22:50:33 +03:00
Родитель dd6ccddbe8
Коммит 2bd276f67f
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -5914,6 +5914,7 @@ return malloc(size);
os.path.join('objs', '.libs', 'libfreetype.a'))
def test_freetype(self):
if WINDOWS: return self.skip('test_freetype uses a ./configure script to build and therefore currently only runs on Linux and OS X.')
assert 'asm2g' in test_modes
if self.run_name == 'asm2g':
Settings.ALIASING_FUNCTION_POINTERS = 1 - Settings.ALIASING_FUNCTION_POINTERS # flip for some more coverage here
@ -6053,6 +6054,7 @@ def process(filename):
assert old.count('tempBigInt') > new.count('tempBigInt')
def test_poppler(self):
if WINDOWS: return self.skip('test_poppler depends on freetype, which uses a ./configure script to build and therefore currently only runs on Linux and OS X.')
Settings.NO_EXIT_RUNTIME = 1
Building.COMPILER_TEST_OPTS += [