Marcus Weseloh
92947586fb
Cross-platform fixes for test utils
...
Use executable suffix to make test work on Windows and
specify explicit output directory for dump_sfont tool.
Uses a generator expression $<0:> to prevent VS and Xcode from
adding per-config subdirectories to the RUNTIME_OUTPUT_DIRECTORY
2021-04-10 15:44:14 +02:00
Marcus Weseloh
cc186512ed
Add integration tests for defsfont loader
...
Runs the new dump_sfont utility on the test soundfonts and
compares them against the stored representation. Raise an error
if there are any differences.
2021-04-10 15:44:14 +02:00
Marcus Weseloh
522b751f4f
New dump_sfont utility to output a defsfont as YAML
...
Intended to be used in integration tests to compare the output
against a previously generated output.
2021-04-10 15:44:13 +02:00
derselbst
a250ac2a97
Slightly extend test_sfont_loading.c
2020-01-24 13:33:41 +01:00
Tom M
872c6bc678
Compile suitable demo files from doc/ ( #611 )
2020-01-24 08:57:20 +01:00
derselbst
a6b1056b8c
fix win32 build
2018-08-07 10:34:58 +02:00
derselbst
ff1482ec06
fix dll visibility on win32 for unittests
2018-08-06 20:29:50 +02:00
derselbst
283eba5a3c
only build unit test if explicitly requested
...
via make check
2018-08-06 18:03:48 +02:00
derselbst
521e5451fc
remove cmake option enable-tests
...
Always build unit tests instead and use cmakes OBJECT library to bypass visibility control and the value of BUILD_SHARED_LIBS.
2018-08-05 20:50:41 +02:00
derselbst
c433fc887c
simplify dependency handling of unit tests
2018-04-21 23:22:45 +02:00
derselbst
4ce0e3eced
add unit test README
2018-04-07 19:09:49 +02:00
derselbst
de68492710
add cmake option enable-tests
...
forces a static build and sets up test env
2018-04-07 10:45:44 +02:00
derselbst
147dbb2aa1
fix build
2018-04-07 10:45:43 +02:00
derselbst
42a6a2153a
add a macro to simplify adding unit tests
2018-04-07 10:45:43 +02:00