build: reenable test-context in MSVC

Signed-off-by: Ran Benita <ran@unusedvar.com>
master
Ran Benita 2022-09-24 10:30:00 +03:00
parent f9858bf5b9
commit 2530f6444b
1 changed files with 5 additions and 8 deletions

View 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),