diff options
| author | hachem <im@hachem.wtf> | 2026-08-30 21:21:53 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-30 21:21:53 +0200 |
| commit | 294777178f9203283364f3e672569becb4dd1e7c (patch) | |
| tree | b97447843d06f8f63a01505c85e6e9f9e804b797 /README.md | |
| parent | 13704a1df5c15af7163cc7764b0aeebc81ad2bdd (diff) | |
test: add automated docker testing for the whole test suite
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -64,6 +64,16 @@ ld hello.o -o hello ./hello ``` +To transpile, assemble, link and run every program in [examples/](examples/) and check its output, use the end-to-end test script (also from inside the container): +```bash +make config=debug && ./scripts/test_examples.sh +``` + +Or, from the host, run the whole suite (unit tests plus the example tests) in one shot, bringing the container up if needed: +```bash +./scripts/docker_test.sh +``` + When you're finished, stop and remove the container: ```bash docker compose down |
