Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin J. Thompson
Tor
Commits
e1955a2c
Unverified
Commit
e1955a2c
authored
5 years ago
by
teor
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'tor-github/pr/877' into maint-0.2.9
parents
54e249e2
f0cd8f80
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+5
-3
5 additions, 3 deletions
.travis.yml
Makefile.am
+3
-1
3 additions, 1 deletion
Makefile.am
changes/bug29036
+5
-0
5 additions, 0 deletions
changes/bug29036
with
13 additions
and
4 deletions
.travis.yml
+
5
−
3
View file @
e1955a2c
...
...
@@ -155,6 +155,8 @@ script:
## We run `make check` because that's what https://jenkins.torproject.org does.
-
if [[ "$DISTCHECK" == "" ]]; then make check; fi
-
if [[ "$DISTCHECK" != "" ]]; then make distcheck DISTCHECK_CONFIGURE_FLAGS="$CONFIGURE_FLAGS"; fi
## If this build was one that produced coverage, upload it.
-
if [[ "$COVERAGE_OPTIONS" != "" ]]; then coveralls -b . --exclude src/test --exclude src/trunnel --gcov-options '\-p' || echo "Coverage failed"; fi
after_failure
:
## configure will leave a log file with more details of config failures.
...
...
@@ -165,9 +167,9 @@ after_failure:
## `make distcheck` puts it somewhere different.
-
if [[ "$DISTCHECK" != "" ]]; then make show-distdir-testlog || echo "make failed"; fi
after_success
:
##
If this build was one that produced coverage, upload it
.
-
if [[ "$COVERAGE_OPTIONS" != "" ]]; then
coveralls -b . --exclude src/test --exclude src/trunnel --gcov-options '\-p'
; fi
before_cache
:
##
Delete all gcov files
.
-
if [[ "$COVERAGE_OPTIONS" != "" ]]; then
make reset-gcov
; fi
notifications
:
irc
:
...
...
This diff is collapsed.
Click to expand it.
Makefile.am
+
3
−
1
View file @
e1955a2c
...
...
@@ -148,8 +148,10 @@ test-full: need-stem-path need-chutney-path check test-network test-stem
test-full-online
:
need-stem-path need-chutney-path check test-network test-stem-full
# We can't delete the gcno files, because they are created when tor is compiled
reset-gcov
:
rm
-f
$(
top_builddir
)
/src/
*
/
*
.gcda
$(
top_builddir
)
/src/
*
/
*
/
*
.gcda
rm
-f
$(
top_builddir
)
/src/
*
/
*
.gcda
$(
top_builddir
)
/src/
*
/
*
/
*
.gcda
\
$(
top_builddir
)
/src/
*
/
*
.gcov
$(
top_builddir
)
/src/
*
/
*
/
*
.gcov
HTML_COVER_DIR
=
$(
top_builddir
)
/coverage_html
coverage-html
:
all
...
...
This diff is collapsed.
Click to expand it.
changes/bug29036
0 → 100644
+
5
−
0
View file @
e1955a2c
o Minor bugfix (continuous integration):
- Reset coverage state on disk after Travis CI has finished. This is being
done to prevent future gcda file merge errors which causes the test suite
for the process subsystem to fail. The process subsystem was introduced
in 0.4.0.1-alpha. Fixes bug 29036; bugfix on 0.2.9.15.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment