Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
9eb316de
Commit
9eb316de
authored
Aug 11, 2020
by
Nick Mathewson
👁
Browse files
CI: Only run doxygen on 0.4.3 and later.
parent
6a91a50d
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/ci/ci-driver.sh
View file @
9eb316de
...
...
@@ -267,6 +267,29 @@ if [[ "${CHUTNEY}" = "yes" ]]; then
show_git_version Chutney
"
${
CHUTNEY_PATH
}
"
fi
#############################################################################
# Determine the version of Tor.
TOR_VERSION
=
$(
grep
-m
1 AC_INIT configure.ac |
sed
-e
's/.*\[//; s/\].*//;'
)
# Use variables like these when we need to behave differently depending on
# Tor version. Only create the variables we need.
TOR_VER_AT_LEAST_043
=
no
# These are the currently supported Tor versions; no need to work with anything
# ancient in this script.
case
"
$TOR_VERSION
"
in
0.3.
*
)
TOR_VER_AT_LEAST_043
=
no
;;
0.4.[012].
*
)
TOR_VER_AT_LEAST_043
=
no
;;
*
)
TOR_VER_AT_LEAST_043
=
yes
;;
esac
#############################################################################
# Make sure the directories are all there.
...
...
@@ -362,7 +385,7 @@ fi
FAILED_TESTS
=
""
if
[[
"
${
DOXYGEN
}
"
=
'yes'
]]
;
then
if
[[
"
${
DOXYGEN
}
"
=
'yes'
&&
"
${
TOR_VER_AT_LEAST_043
}
"
=
'yes'
]]
;
then
start_section Doxygen
if
runcmd make doxygen
;
then
hooray
"make doxygen has succeeded."
...
...
Write
Preview
Supports
Markdown
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