1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 15:50:24 +00:00
QB64-PE/tests/compile_tests/console_only/screenimage.bas
Matthew Kilgore 870e67a99b Add $CONSOLE:ONLY and libz tests
libz tests were missing, I added one to test the libz dependency.

Additionally $CONSOLE:ONLY creates many weird interactions and is
currently broken in some cases. This adds tests for all the dependencies
that can work with $CONSOLE:ONLY to verify that they compile correctly.
2022-09-17 03:06:24 -04:00

17 lines
214 B
QBasic

$CONSOLE:ONLY
_DEST _CONSOLE
$IF WIN THEN
$ELSE
' We can't do _SCREENIMAGE on Linux or Mac OS build agents, but we can still test
' that it compiles
PRINT -13;
SYSTEM
$END IF
i& = _SCREENIMAGE
PRINT i&;
SYSTEM