Skip to content

Commit

Permalink
fix core tests [3], --filter=[core]
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Aug 22, 2024
1 parent bcb8079 commit 6f65909
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
run: |
cmake . -D CODE_COVERAGE=ON -D enable_thread=1
make VERBOSE=1 -j $(nproc) lib-swoole
sudo make install
- name: make test with valgrind
if: "contains(github.event.head_commit.message, '--valgrind')"
Expand Down
7 changes: 5 additions & 2 deletions core-tests/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/bash
__DIR__=$(cd "$(dirname "$0")";pwd)
__SWOOLE_DIR__=$(cd "$(dirname "${__DIR__}")";pwd)

if [ "${SWOOLE_ENABLE_ASAN}" = 1 ]; then
cmake . -D enable_thread=1 -D enable_asan=1
cmake . -D swoole_dir="${__SWOOLE_DIR__}" -D enable_thread=1 -D enable_asan=1
else
cmake . -D enable_thread=1
cmake . -D swoole_dir="${__SWOOLE_DIR__}" -D enable_thread=1
fi
make -j8
ipcs -q
Expand Down

0 comments on commit 6f65909

Please sign in to comment.