Skip to content

Commit bfc2f5a

Browse files
committed
Test will now fail instead of skipping in case of missing pkg-config
1 parent 15f7812 commit bfc2f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ def test_cmake_find_modules(self):
807807

808808
def test_cmake_find_pkg_config(self):
809809
if not utils.which('pkg-config'):
810-
self.skipTest('Skipping cmake with pkg-config test since pkg-config is not found')
810+
self.fail('pkg-config is required to run this test')
811811
out = self.run_process([EMCMAKE, 'cmake', test_file('cmake/find_pkg_config')], stdout=PIPE).stdout
812812
libdir = shared.Cache.get_sysroot_dir('local', 'lib', 'pkgconfig')
813813
libdir += os.path.pathsep + shared.Cache.get_sysroot_dir('lib', 'pkgconfig')

0 commit comments

Comments
 (0)