Skip to content

Commit

Permalink
BLD: Fix C_API test
Browse files Browse the repository at this point in the history
Doesn't use Catch2
  • Loading branch information
HaoZeke committed May 5, 2024
1 parent b17c6d4 commit faaa382
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion check/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ test_array = [
['test_lpvalidation', 'TestLpValidation.cpp'],
['test_lpmodification', 'TestLpModification.cpp'],
['test_lporientation', 'TestLpOrientation.cpp'],
['test_capi', 'TestCAPI.c'],
]
foreach test : test_array
test(test.get(0),
Expand All @@ -71,3 +70,11 @@ foreach test : test_array
timeout: 300,
)
endforeach

test('test_capi',
executable('capi_unit_tests',
sources: ['TestCAPI.c', highs_conf_file],
include_directories: _incdirs,
link_with : highslib,
)
)

0 comments on commit faaa382

Please sign in to comment.