Commit 114ec7a3 authored by zhujiashun's avatar zhujiashun

fix_core_name: update test/run_tests.sh to remove core

parent 81a123bf
......@@ -23,6 +23,10 @@ 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment