1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 11:10:22 +00:00
QB64-PE/tests/compile_tests
github-actions[bot] 72d801e0cd Fix linking static libraries on Windows
In QB64, when linking with an external static library `nm.exe` is used
to determine whether the symbol being used is either a C or C++ symbol,
which determines how the function should be declared in the C++ code.

Unfortunately on Windows the `SHELL` command for `nm.exe` is missing the
`cmd /c`, which means the redirection does not work and consequently
we're unable to find the function declaration via `nm.exe`, which causes
the compilation to fail.

In addition to fixing this, I added tests for `DECLARE STATIC LIBRARY`
for all supported platforms.

Fixes: #112
2022-07-09 14:59:33 -04:00
..
audio_out Audio tests cannot be run on Linux 2022-05-12 00:21:02 -04:00
audio_test Audio tests cannot be run on Linux 2022-05-12 00:21:02 -04:00
basic Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
console Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
data Add test of DATA linking 2022-05-12 00:21:02 -04:00
declare_library Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
declare_library_dynamic Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
declare_library_external Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
declare_library_header Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
declare_library_static Fix linking static libraries on Windows 2022-07-09 14:59:33 -04:00
deviceinput Disable deviceinput test on Linux 2022-06-09 21:30:37 -04:00
font Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
icon Add Compilation tests for different dependencies 2022-04-28 23:00:06 -04:00
icon_relative Add test of relative icon path 2022-05-06 13:42:35 -04:00
image Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
name with spaces Add missing test for directory with spaces 2022-05-24 00:00:37 -04:00
opengl Add Compilation tests for different dependencies 2022-04-28 23:00:06 -04:00
sockets Add Compilation tests for different dependencies 2022-04-28 23:00:06 -04:00
versioninfo Add Compilation tests for different dependencies 2022-04-28 23:00:06 -04:00
versioninfo2 Add a few more VERSIONINFO tests 2022-05-06 14:29:37 -04:00
versioninfo3 Add a few more VERSIONINFO tests 2022-05-06 14:29:37 -04:00
winresource Fix test 2022-05-12 00:21:02 -04:00