aboutsummaryrefslogtreecommitdiffhomepage
path: root/src-cslul/testgen/README.md
blob: f1b68ce4ab2175756596b2965bdec0e7e99acb0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

This is a small test tool that generates very large source files for
testing the compiler.

It can operate in two modes:

1. Generate complete garbage source code to test the parser.
   It is expected to get "Internal tree data structure too large"
   for some of the generated source code.
2. Generate source code that compiles (but is meaningless).
   This mode is called the happy-path mode.

There is a script called `runmany.sh` that runs the garbage
source code generation 4096 times with different parameters.
This will take a long time to run.