Skip to content

Commit

Permalink
Fixed an issue with how the crunch tests build their crunchMake invoc…
Browse files Browse the repository at this point in the history
…ations
  • Loading branch information
dragonmux committed Jan 1, 2024
1 parent 018ae55 commit eab6496
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/crunch/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ endif
libCrunchPath = meson.global_build_root() / libCrunch.outdir()

foreach test : libCrunchTests
command = [crunchMake, '-s', '@INPUT@', '-o', '@OUTPUT@', '-I' + crunchSrcDir, '-L' + libCrunchPath]
command = [
crunchMake,
'-s',
'@INPUT@',
'-o', '@OUTPUT@',
libCrunchDep.get_variable('compile_args'),
libCrunchDep.get_variable('link_args'),
]

if isMSVC and coverage
command = [coverageTarget, coverageRunner] + coverageArgs + [
'cobertura:crunchMake-crunch-@0@-coverage.xml'.format(test), '--'
Expand Down

0 comments on commit eab6496

Please sign in to comment.