Commit Graph
6 Commits
Author SHA1 Message Date
Gus Cairo 7d3204d232 Improve alloc tests failure messages (#3173)
This PR improves the messaging when tests fail so it's easier to
troubleshoot failures.
2025-04-03 15:23:41 +00:00
Franz Busch f17f7e5909 [CI] Add shellcheck and fix up warnings (#2809)
# Motivation

We have quite a lot of shell scripts in our repo and want to make sure that they all pass `shellcheck`.

# Modification

This PR adds a GH action workflow to the soundness script for `shellcheck` and fixes up all errors and warnings.

# Result

No more shell/bash discussions
2024-07-25 14:55:44 +00:00
Johannes Weiß 4e4890d990 add 'info' mode for integration tests (#318)
Motivation:

Sometimes it's useful if the integration tests can output something that
isn't always useful. `-v` for verbose is way too verbose so this adds a
`-i` flag to the integration tests that lets 'info' messages through.

Modifications:

- add `-i` flags to integration tests
- make use of it in the integration counter tests

Result:

if we enable `-i` in CI, then we can constantly monitor the number of
allocations we do even if we don't fail the tests.
2018-04-17 10:13:05 +02:00
Johannes Weiß c84b19a399 add an allocation counting integration test (#252)
Motivation:

In Swift, it's really easy to accidentally add allocations yet the
number of allocations is really important for performance.
Therefore it's useful to have an integration test that counts the number
of allocations and compares them to a reference (and fails if the number
of allocations increases).

Modifications:

- add an allocation counter
- add a HTTP1 client/server example that is run with the allocation
  counter intrumentation

Result:

We should now be able to track the number of allocations.
2018-03-29 18:31:08 +01:00
Johannes Weiß 1065c9d38e add license headers for shell scripts (#135)
Motivation:

Our shell scripts didn't have license headers but they should.

Modifications:

Add licensing headers to all shell scripts

Result:

Licensing clear for shell scripts too.
2018-03-12 17:12:47 +00:00
Tom Doron 7d5dc67af8 scripts cleanup
motivation: nicer source tree

chanages:
* move scripts to scripts directory
* move integration tests to IntegrationTests directory and remove driver script
* add .sh extension to bash scripts
* adjust rio.yaml
2018-02-12 10:06:46 -08:00