Skip to content

Commit

Permalink
now using scrutiny 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeldan committed Oct 8, 2023
1 parent 2c89d28 commit 4340fa5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: nickeldan/scrutiny:0.5.2
image: nickeldan/scrutiny:0.7.1
steps:
- uses: actions/checkout@v3
- run: make tests
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ Configuration
Testing
=======

Testing can be performed through the [Scrutiny framework](https://github.com/nickeldan/scrutiny). After installing at least version 0.5.0 of the framework, you can run tests by
Testing can be performed through the [Scrutiny framework](https://github.com/nickeldan/scrutiny). After installing at least version 0.7.1 of the framework, you can run tests by

```sh
make tests
Expand Down
1 change: 1 addition & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
7.1.0:
- Added names to loggers.
- Now using Scrutiny 0.7.1.

7.0.0:
- Reworked loggers to use handlers.
Expand Down
4 changes: 2 additions & 2 deletions tests/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@
M(logger_fd_handler_cloexec)

#define DECL_TEST(func) void test_##func(void);
#define ADD_TEST(func) scrGroupAddTest(group, #func, test_##func, 0, 0);
#define ADD_TEST(func) scrGroupAddTest(group, #func, test_##func, NULL);

APPLY_MACRO(DECL_TEST)

int
main()
{
scrGroup *group;
scrGroup group;

group = scrGroupCreate(NULL, NULL);
APPLY_MACRO(ADD_TEST)
Expand Down

0 comments on commit 4340fa5

Please sign in to comment.