Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
fb4020b0
Commit
fb4020b0
authored
Oct 11, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X test.fault: understoody why "core file not found"
parent
aab73379
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
.nxdtest
.nxdtest
+13
-1
t/tfault-run
t/tfault-run
+0
-8
No files found.
.nxdtest
View file @
fb4020b0
...
...
@@ -13,7 +13,19 @@ gonprocv = ['1', '2', ''] # GOMAXPROCS=... to test against
# we don't run test.vg* because there is currently no valgrind on SlapOS.
for kind in ['t', 'fault', 'asan', 'tsan']:
t = 'test.%s' % kind
TestCase(t, ['make', t]) # TODO summaryf=TAP.summary
envadj = {}
# test.fault: on Ubuntu, when apport is registerd in /proc/sys/kernel/core_pattern,
# it is apport which is run to process core. Apport dumps core for us, but
# rejects to run in parralel with the following message in its log:
# ERROR: apport ...: another apport instance is already running, aborting
# this way, when test.fault tests are run in parallel, some of them fail to
# find core corresponding to expected crash.
# -> force serial execution to workaround that.
if t == 'fault':
envadj['MAKEFLAGS'] = '-j1'
TestCase(t, ['make', t], envadj=envadj) # TODO summaryf=TAP.summary
# test.py/<stor>-!wcfs runs unit- and functional- tests for wendelin.core in non-wcfs mode.
for stor in storv:
...
...
t/tfault-run
View file @
fb4020b0
...
...
@@ -22,14 +22,6 @@ mkdir "$workdir"
cd
"
$workdir
"
ulimit
-c
unlimited
echo
echo
'SOFT limits'
ulimit
-a
-S
echo
echo
'HARD limits'
ulimit
-a
-H
echo
$tfault
$arg
2>&1 |tee run.out
grep
-q
"^# going to fault"
run.out
||
die
"test didn't run to faulting point"
...
...
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