Skip to content

Commit fa2cd22

Browse files
author
Memfault Inc
committed
Memfault Firmware SDK 1.23.1 (Build 13641)
1 parent 26ed15e commit fa2cd22

File tree

4 files changed

+21
-8
lines changed

4 files changed

+21
-8
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [1.23.1] - 2024-04-17
10+
11+
### 🐛 Fixed
12+
13+
- Modify the test command used in our public CircleCI job, to work around an
14+
issue with
15+
[CircleCI's v2 container runtime](https://discuss.circleci.com/t/docker-executor-infrastructure-upgrade/52282),
16+
which uses `cgroupv2` instead of `cgroupv1`.
17+
918
## [1.23.0] - 2024-04-16
1019

1120
### 📈 Added

VERSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BUILD ID: 13619
2-
GIT COMMIT: 5cd404d7f3
3-
VERSION: 1.23.0
1+
BUILD ID: 13641
2+
GIT COMMIT: 5f0dd98704
3+
VERSION: 1.23.1

components/include/memfault/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ typedef struct {
2020
} sMfltSdkVersion;
2121

2222
#define MEMFAULT_SDK_VERSION \
23-
{ .major = 1, .minor = 23, .patch = 0 }
24-
#define MEMFAULT_SDK_VERSION_STR "1.23.0"
23+
{ .major = 1, .minor = 23, .patch = 1 }
24+
#define MEMFAULT_SDK_VERSION_STR "1.23.1"
2525

2626
#ifdef __cplusplus
2727
}

tasks/__init__.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"extra_make_options": "Extra make options",
2828
"verbose": "Verbose output",
2929
"no_pytest": "Don't run pytest, instead run the Make-based test runner",
30+
"jobs": "Number of jobs to run in parallel; use 'auto' to detect the number of CPUs",
3031
}
3132
)
3233
def fw_sdk_unit_test(
@@ -38,6 +39,7 @@ def fw_sdk_unit_test(
3839
extra_make_options="",
3940
verbose=False,
4041
no_pytest=False,
42+
jobs: str = "4",
4143
):
4244
"""Runs unit tests"""
4345

@@ -107,9 +109,11 @@ def fw_sdk_unit_test(
107109
# use a Make-based test runner, so support both.
108110
if os.path.exists(os.path.join(test_dir, "test.py")) and not no_pytest:
109111
# run the tests with pytest
110-
test_cmd = "pytest --numprocesses=auto {verbose} test.py".format(
111-
verbose="-v" if verbose else ""
112-
)
112+
test_cmd = "pytest"
113+
test_cmd += f" --numprocesses={jobs}"
114+
if verbose:
115+
test_cmd += " -v"
116+
test_cmd += " test.py"
113117
else:
114118
# run normal make-based tests
115119
test_cmd = "make {} {}".format(" ".join(make_options), rule)

0 commit comments

Comments
 (0)