Before publishing a compiler change, run it against the full demo corpus to catch regressions. The testcompilealldemos.bat script walks a target folder (the demos repository by default) and compiles every .gcb file it finds, logging the outcome of each into four files: test.log (files with real errors/warnings, or that failed to produce ASM/HEX), success.log, invalidsources.log (files with no #chip/recognised chip include, so not a compilable source), and skipped.log.
Excluding files and folders from the run:
There are two independent ways to keep a source out of a regression run:
| Mechanism | Effect |
|---|---|
|
A file named |
Skips every |
|
The |
Skips only that individual file, wherever it lives. The script detects it with a plain text search for |
Neither mechanism is understood by GCBASIC.EXE itself - #SKIPTEST is not a compiler directive; the compiler never inspects it. Both are conventions read only by the regression-test script,
used to exclude demos that are intentionally non-compiling (work in progress, illustrative snippets, or requiring build options
the batch run doesn’t set).
See Also:
- Development Guide — the equivalent contributor guide for GCBASIC libraries
- GCBASIC Maintenance — the release/build/DAT-file maintenance process
- Command Line Parameters — the use.ini settings this compiler reads
- Performance — the user-facing guide to writing fast GCBASIC code

