1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/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
..
c Add buffer API unit tests 2022-06-11 22:47:06 -04:00
compile_tests Fix linking static libraries on Windows 2022-07-09 14:59:33 -04:00
dist Add distribution tests 2022-04-28 17:21:58 -04:00
qbasic_testcases Add QBasic tests 2022-04-28 23:00:07 -04:00
.gitignore Don't archive test exes 2022-05-06 17:50:07 -04:00
assert.sh Only copy compilelog files if they exist 2022-05-12 00:21:02 -04:00
build.mk Add buffer API unit tests 2022-06-11 22:47:06 -04:00
colors.sh Add distribution tests 2022-04-28 17:21:58 -04:00
compile_tests.sh Allow EXE name to have spaces in it 2022-05-22 23:59:06 -04:00
dist_tests.sh Redirect stderr to compilelog rather than errorcompilelog 2022-05-18 09:20:30 -04:00
qbasic_tests.sh Redirect stderr to compilelog rather than errorcompilelog 2022-05-18 09:20:30 -04:00
run_c_tests.sh Add script for running C++ tests 2022-06-11 22:47:06 -04:00
run_dist_tests.sh Add distribution tests 2022-04-28 17:21:58 -04:00
run_tests.sh Fix run_tests.sh to report error on failed tests 2022-05-06 13:42:35 -04:00