Skip to content

Commit

Permalink
Add support for OTP 27
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Oct 12, 2024
1 parent 8f46661 commit 547abd7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
otp_version: ['26.2', '25.3']
otp_version: ['27.1', '26.2', '25.3']

steps:
- uses: actions/checkout@v4
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
otp_version: ['26.2', '25.3']
otp_version: ['27.1', '26.2', '25.3']

needs:
- build
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
erlang 26.2.5.2
erlang 27.1.1
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,32 @@

Regression tests taken from the PowerDNS 3 regression test suite and converted to an Erlang environment.

## Building

```bash
make
```

## Configuration

You can find the configuration in [`dnstest.config`](./dnstest.config). Modify it at will to point it to the DNS server you wish to test against.

## Running

### The entire suite
You'll need to have a DNS server running. For example, start [`erldns`](https://github.com/dnsimple/erldns) before running this testing tool.

### The Entire Suite

```bash
run.sh
```

### A Single test
### A Single Test

When the shell script runs, you will be left with a console. From there you may run individual tests with `dnstest:run(atom)` where `atom` is the atom identifier of the test.

## Testing `dnstest` Itself

When the shell script runs you will be left with a console. From there you may run individual tests with `dnstest:run(atom)` where `atom` is the atom identifier of the test.
```bash
make test
```

0 comments on commit 547abd7

Please sign in to comment.