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
3aa855dc
Unverified
Commit
3aa855dc
authored
Mar 20, 2020
by
teor
Browse files
Merge branch 'maint-0.4.1' into maint-0.4.2
parents
190cda0e
42ea03eb
Changes
4
Hide whitespace changes
Inline
Side-by-side
.appveyor.yml
View file @
3aa855dc
...
@@ -97,7 +97,7 @@ test_script:
...
@@ -97,7 +97,7 @@ test_script:
Set-Location "${env:build}"
Set-Location "${env:build}"
Copy-Item "C:/msys64/${env:compiler_path}/bin/libssp-0.dll" -Destination "${env:build}/src/test"
Copy-Item "C:/msys64/${env:compiler_path}/bin/libssp-0.dll" -Destination "${env:build}/src/test"
Copy-Item "C:/msys64/${env:compiler_path}/bin/zlib1.dll" -Destination "${env:build}/src/test"
Copy-Item "C:/msys64/${env:compiler_path}/bin/zlib1.dll" -Destination "${env:build}/src/test"
Execute-Bash "VERBOSE=1 make -k -j2 check"
Execute-Bash "VERBOSE=1
TOR_SKIP_TESTCASES=crypto/openssl_version
make -k -j2 check"
}
}
on_finish
:
on_finish
:
...
...
changes/ticket33643
0 → 100644
View file @
3aa855dc
o Minor features (testing):
- The unit tests now support a "TOR_SKIP_TESTCASES" environment variable
to specify a list of space-separated test cases that should not be
executed. We will use this to disable certain tests that are failing on
Appveyor because of mismatched OpenSSL libraries. Part of ticket 33643.
changes/ticket33643_part2
0 → 100644
View file @
3aa855dc
o Testing (CI):
- On appveyor, skip the crypto/openssl_version test, which is failing
because of a mismatched library installation. Fix for 33643.
src/test/testing_common.c
View file @
3aa855dc
...
@@ -343,6 +343,21 @@ main(int c, const char **v)
...
@@ -343,6 +343,21 @@ main(int c, const char **v)
atexit
(
remove_directory
);
atexit
(
remove_directory
);
/* Look for TOR_SKIP_TESTCASES: a space-separated list of tests to skip. */
const
char
*
skip_tests
=
getenv
(
"TOR_SKIP_TESTCASES"
);
if
(
skip_tests
)
{
smartlist_t
*
skip
=
smartlist_new
();
smartlist_split_string
(
skip
,
skip_tests
,
NULL
,
SPLIT_IGNORE_BLANK
,
-
1
);
int
n
=
0
;
SMARTLIST_FOREACH_BEGIN
(
skip
,
char
*
,
cp
)
{
n
+=
tinytest_skip
(
testgroups
,
cp
);
tor_free
(
cp
);
}
SMARTLIST_FOREACH_END
(
cp
);
printf
(
"Skipping %d testcases.
\n
"
,
n
);
smartlist_free
(
skip
);
}
int
have_failed
=
(
tinytest_main
(
c
,
v
,
testgroups
)
!=
0
);
int
have_failed
=
(
tinytest_main
(
c
,
v
,
testgroups
)
!=
0
);
free_pregenerated_keys
();
free_pregenerated_keys
();
...
...
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