Update the CI/CD check for memory leak
@@ -20,7 +20,7 @@ jobs:
run: |
cmake -DCMAKE_BUILD_TYPE=Debug -DDISABLE_HTTP=1 -B ./build
cmake --build ./build
- ./dictu tests/runTests.du | tee /dev/stderr | grep -q 'Total memory usage: 0'
+ ./dictu tests/runTests.du | tee /dev/stderr | grep -q 'Total bytes lost: 0'
- name: Remove build directory
run: |
rm -rf build
@@ -30,7 +30,7 @@ jobs:
sudo apt-get install -y libcurl4-openssl-dev
cmake -DCMAKE_BUILD_TYPE=Debug -B ./build
cmake --build ./build
- ./dictu tests/runTests.du | tee /dev/stderr | grep -q 'Total memory usage: 0'
+ ./dictu tests/runTests.du | tee /dev/stderr | grep -q 'Total bytes lost: 0'
test-mac-cmake:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
@@ -44,7 +44,7 @@ jobs:
run: |
cmake -DCMAKE_BUILD_TYPE=Debug -DDISABLE_HTTP=1 -B ./build
cmake --build ./build
- ./dictu tests/runTests.du | tee /dev/stderr | grep -q 'Total memory usage: 0'
+ ./dictu tests/runTests.du | tee /dev/stderr | grep -q 'Total bytes lost: 0'
- name: Remove build directory
run: |
rm -rf build
@@ -52,7 +52,7 @@ jobs:
run: |
cmake -DCMAKE_BUILD_TYPE=Debug -B ./build
cmake --build ./build
- ./dictu tests/runTests.du | tee /dev/stderr | grep -q 'Total memory usage: 0'
+ ./dictu tests/runTests.du | tee /dev/stderr | grep -q 'Total bytes lost: 0'
test-windows-cmake:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
@@ -78,4 +78,4 @@ jobs:
sudo apt-get install -y libcurl4-openssl-dev
cmake -DCMAKE_BUILD_TYPE=Debug -B ./build
cmake --build ./build
- ./dictu examples/runExamples.du | tee /dev/stderr | grep -q 'Total memory usage: 0'
+ ./dictu examples/runExamples.du | tee /dev/stderr | grep -q 'Total bytes lost: 0'
