Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
efd68531
Commit
efd68531
authored
Oct 11, 2019
by
zhujiashun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix_core_name: enable core pid
parent
114ec7a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
.travis.yml
.travis.yml
+1
-0
run_tests.sh
test/run_tests.sh
+0
-4
No files found.
.travis.yml
View file @
efd68531
...
...
@@ -17,6 +17,7 @@ env:
before_script
:
-
ulimit -c unlimited -S
# enable core dumps
-
sudo echo "1" > /proc/sys/kernel/core_uses_pid
before_install
:
-
wget --no-clobber https://github.com/bazelbuild/bazel/releases/download/0.25.1/bazel_0.25.1-linux-x86_64.deb && sudo dpkg -i bazel_0.25.1-linux-x86_64.deb
...
...
test/run_tests.sh
View file @
efd68531
...
...
@@ -23,10 +23,6 @@ rc=0
test_bins
=
"test_butil test_bvar bthread*unittest brpc*unittest"
ulimit
-c
unlimited
# turn on coredumps
for
test_bin
in
$test_bins
;
do
# test_butil would generate core file due to ASSERT_DEATH and still be passed.
# The core file should be removed first otherwise other core would not be
# generated.
rm
-rf
core
*
test_num
=
$((
test_num
+
1
))
>
&2
echo
"[runtest]
$test_bin
"
./
$test_bin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment