Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/rta coverage #569

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions jenkins/helper/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,12 @@ def kill_children(identifier, params, children):
if one_child.pid in killed:
continue
try:
killed.append(one_child.pid)
err += add_message_to_report(
params,
f"{identifier}: killing {one_child.name()} - {str(one_child.pid)}")
one_child.resume()
if one_child.name() != "svchost.exe":
killed.append(one_child.pid)
err += add_message_to_report(
params,
f"{identifier}: killing {one_child.name()} - {str(one_child.pid)}")
one_child.resume()
except FileNotFoundError:
pass
except AttributeError:
Expand Down
13 changes: 13 additions & 0 deletions jenkins/runRTAtest.fish
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ if test "$ASAN" = "true"
sanOn
and buildSanFlags "$WORKDIR/work/ArangoDB"
end
if test "$COVERAGE" = "true"
echo "Coverage build"
coverageOn
rm -rf $WORKDIR/work/gcov.old
if test -d $WORKDIR/work/gcov ; mv $WORKDIR/work/gcov $WORKDIR/work/gcov.old ; end
end
if test "$BUILD_MODE" = "maintainer"
echo "switching to maintainer build"
maintainerOn
end
if test "$BUILD_MODE" = "debug"
echo "switching to debug build"
debugMode
Expand Down Expand Up @@ -46,6 +56,9 @@ for f in $matches
echo $f | grep -qv testreport ; and echo "mv $f $WORKSPACE" ; and mv $f $WORKSPACE; or echo "skipping $f"
end

if test "$COVERAGE" = "true"
collectCoverage
end
unlockDirectory

exit $s