Commit Graph
6 Commits
Author SHA1 Message Date
George Barnett 100b1f4ff9 Print alloc-limits-from-test-output usage when no args (#3041)
Motivation:

The alloc-limits-from-test-output doesn't print usage if you don't pass
in a format arg, it just sits and waits for stdin.

Modifications:

Print usage if running interactively

Result:

Easier to get usage
2025-01-07 10:36:03 +00:00
Cory Benfield 035d3a57c9 Add back alloc limits script with JSON mode (#2987)
Motivation:

We removed the alloc limits script, but it is still very useful. It just
couldn't produce JSON. So now it can!

Modifications:

Re-adds the alloc limits script.
Makes it produce JSON.

Result:

JSON can be produced from the CI output.
2024-11-21 16:55:29 +00:00
Peter AdamsandCory Benfield e25bf7ecfe Remove unused dockerfiles and allocation limit scripts (#2957)
Motivation:

Remove unused clutter

Modifications:

Remove dockerfiles and scripts to update allocation limits.

Result:

Cleaner repo

Co-authored-by: Cory Benfield <lukasa@apple.com>
2024-10-31 15:59:53 +00:00
Johannes Weiss 06195d2f46 dev/scripts: add missing license headers (#1852)
Motivation:

We need license headers but the soundness script couldn't check if the
scripts don't have a `.sh` extension.

Modification:

- Add missing license headers.
- Better license checking (search for shell shebangs too)

Result:

Proper license attribution.
2021-05-07 10:28:07 +01:00
Johannes Weiss 4d1a72c712 alloc-limits-from-test-output: support more formats (#1812)
Motivation:

The dev/alloc-limits-from-test-output script is handy to get correctly
formatted (and sorted) alloc counter limits from test output.

Modifications:

When running the alloc counter script itself, it outputs suggested
`export MAX_ALLOCS_ALLOWED` lines. We're now also parsing those, so you
can easily go from `export ...*` to the docker-compose form :).

Result:

Even easier alloc counter limits.
2021-04-21 14:39:55 +01:00
Johannes Weiss 2d27890eb8 normalise alloc counter slack (#1789)
Motivation:

Usually, we add a more or less random number of slack allocations to
make sure the tests don't spuriously fail. This makes it quite costly to
support new Swift versions.

Modifications:

Add a script which can spit you out the right allocation limits
including slack.

Result:

Easier to support new Swift versions
2021-03-30 14:42:33 +01:00