build: reenable test-context in MSVC
authorRan Benita <ran@unusedvar.com>
Sat, 24 Sep 2022 07:30:00 +0000 (10:30 +0300)
committerRan Benita <ran@unusedvar.com>
Sat, 24 Sep 2022 09:31:53 +0000 (12:31 +0300)
Signed-off-by: Ran Benita <ran@unusedvar.com>
meson.build

index 26fca41..a834a7f 100644 (file)
@@ -596,14 +596,11 @@ test(
     executable('test-filecomp', 'test/filecomp.c', dependencies: test_dep),
     env: test_env,
 )
-# TODO: This test currently uses some functions that don't exist on Windows.
-if cc.get_id() != 'msvc'
-  test(
-      'context',
-      executable('test-context', 'test/context.c', dependencies: test_dep),
-      env: test_env,
-  )
-endif
+test(
+    'context',
+    executable('test-context', 'test/context.c', dependencies: test_dep),
+    env: test_env,
+)
 test(
     'rules-file',
     executable('test-rules-file', 'test/rules-file.c', dependencies: test_dep),