Skip to content

Commit d4748af

Browse files
authored
Fix test_cmake_find_modules on windows. NFC (#23810)
1 parent c06ebb0 commit d4748af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_other.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,10 +1090,11 @@ def test_cmake_install(self):
10901090
self.run_process(['cmake', '--build', 'build2', '--target', 'install'])
10911091

10921092
@requires_network
1093+
@crossplatform
10931094
def test_cmake_find_modules(self):
10941095
output = self.run_process([EMCMAKE, 'cmake', test_file('cmake/find_modules')], stdout=PIPE).stdout
10951096
self.assertContained(' test: OpenGL::GL IMPORTED_LIBNAME: GL', output)
1096-
self.assertContained(' test: OpenGL::GL INTERFACE_INCLUDE_DIRECTORIES: /.+/cache/sysroot/include', output, regex=True)
1097+
self.assertContained(' test: OpenGL::GL INTERFACE_INCLUDE_DIRECTORIES: .+/cache/sysroot/include', output, regex=True)
10971098
self.run_process(['cmake', '--build', '.'])
10981099
output = self.run_js('test_prog.js')
10991100
self.assertContained('AL_VERSION: 1.1', output)

0 commit comments

Comments
 (0)