Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenSK
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
koenigl2
OpenSK
Commits
b162b690
Commit
b162b690
authored
5 years ago
by
Guillaume Endignoux
Browse files
Options
Downloads
Patches
Plain Diff
Decrease the number of tests in debug mode, to account for slower CI on Travis.
parent
f5ed8a09
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libraries/crypto/src/ec/point.rs
+2
-0
2 additions, 0 deletions
libraries/crypto/src/ec/point.rs
libraries/crypto/src/ecdh.rs
+1
-1
1 addition, 1 deletion
libraries/crypto/src/ecdh.rs
libraries/crypto/src/ecdsa.rs
+1
-1
1 addition, 1 deletion
libraries/crypto/src/ecdsa.rs
with
4 additions
and
2 deletions
libraries/crypto/src/ec/point.rs
+
2
−
0
View file @
b162b690
...
...
@@ -912,6 +912,8 @@ pub mod test {
}
}
// Due to the 3 nested loops, this test is super slow with debug assertions enabled.
#[cfg(not(debug_assertions))]
#[test]
fn
test_add_is_associative
()
{
for
x
in
&
get_test_values_projective
()
{
...
...
This diff is collapsed.
Click to expand it.
libraries/crypto/src/ecdh.rs
+
1
−
1
View file @
b162b690
...
...
@@ -103,7 +103,7 @@ mod test {
#[cfg(not(debug_assertions))]
const
ITERATIONS
:
u32
=
10000
;
#[cfg(debug_assertions)]
const
ITERATIONS
:
u32
=
10
00
;
const
ITERATIONS
:
u32
=
5
00
;
/** Test that key generation creates valid keys **/
#[test]
...
...
This diff is collapsed.
Click to expand it.
libraries/crypto/src/ecdsa.rs
+
1
−
1
View file @
b162b690
...
...
@@ -357,7 +357,7 @@ mod test {
#[cfg(not(debug_assertions))]
const
ITERATIONS
:
u32
=
10000
;
#[cfg(debug_assertions)]
const
ITERATIONS
:
u32
=
10
00
;
const
ITERATIONS
:
u32
=
5
00
;
/** Test that key generation creates valid keys **/
#[test]
...
...
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