Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Julian Dehm
briar
Commits
9fbf740b
Verified
Commit
9fbf740b
authored
Aug 20, 2018
by
akwizgran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use /dev/urandom for tests.
parent
e5112ae9
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
33 additions
and
3 deletions
+33
-3
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
bramble-android/build.gradle
bramble-android/build.gradle
+5
-0
bramble-api/build.gradle
bramble-api/build.gradle
+5
-0
bramble-core/build.gradle
bramble-core/build.gradle
+5
-0
bramble-j2se/build.gradle
bramble-j2se/build.gradle
+2
-0
briar-android/build.gradle
briar-android/build.gradle
+4
-1
briar-api/build.gradle
briar-api/build.gradle
+5
-0
briar-core/build.gradle
briar-core/build.gradle
+5
-0
No files found.
.gitlab-ci.yml
View file @
9fbf740b
...
...
@@ -11,8 +11,8 @@ test:
-
.gradle/caches
script
:
-
./gradlew --no-daemon animalSnifferMain animalSnifferTest
-
./gradlew --no-daemon test
-
./gradlew --no-daemon
-Djava.security.egd=file:/dev/urandom
animalSnifferMain animalSnifferTest
-
./gradlew --no-daemon
-Djava.security.egd=file:/dev/urandom
test
after_script
:
# these file change every time but should not be cached
...
...
bramble-android/build.gradle
View file @
9fbf740b
...
...
@@ -55,3 +55,8 @@ project.afterEvaluate {
into
'src/main/res/raw'
}
}
tasks
.
withType
(
Test
)
{
// Use entropy-gathering device specified on command line, if any
systemProperty
'java.security.egd'
,
System
.
getProperty
(
'java.security.egd'
)
}
bramble-api/build.gradle
View file @
9fbf740b
...
...
@@ -31,3 +31,8 @@ task jarTest(type: Jar, dependsOn: testClasses) {
artifacts
{
testOutput
jarTest
}
tasks
.
withType
(
Test
)
{
// Use entropy-gathering device specified on command line, if any
systemProperty
'java.security.egd'
,
System
.
getProperty
(
'java.security.egd'
)
}
bramble-core/build.gradle
View file @
9fbf740b
...
...
@@ -44,3 +44,8 @@ task jarTest(type: Jar, dependsOn: testClasses) {
artifacts
{
testOutput
jarTest
}
tasks
.
withType
(
Test
)
{
// Use entropy-gathering device specified on command line, if any
systemProperty
'java.security.egd'
,
System
.
getProperty
(
'java.security.egd'
)
}
bramble-j2se/build.gradle
View file @
9fbf740b
...
...
@@ -26,5 +26,7 @@ dependencies {
}
tasks
.
withType
(
Test
)
{
// Use entropy-gathering device specified on command line, if any
systemProperty
'java.security.egd'
,
System
.
getProperty
(
'java.security.egd'
)
systemProperty
'java.library.path'
,
'libs'
}
briar-android/build.gradle
View file @
9fbf740b
...
...
@@ -186,4 +186,7 @@ project.afterEvaluate {
preBuild
.
dependsOn
.
add
(
verifyTranslations
)
}
tasks
.
withType
(
Test
)
{
// Use entropy-gathering device specified on command line, if any
systemProperty
'java.security.egd'
,
System
.
getProperty
(
'java.security.egd'
)
}
briar-api/build.gradle
View file @
9fbf740b
...
...
@@ -11,3 +11,8 @@ dependencies {
signature
'org.codehaus.mojo.signature:java16:1.1@signature'
}
tasks
.
withType
(
Test
)
{
// Use entropy-gathering device specified on command line, if any
systemProperty
'java.security.egd'
,
System
.
getProperty
(
'java.security.egd'
)
}
briar-core/build.gradle
View file @
9fbf740b
...
...
@@ -32,3 +32,8 @@ dependencies {
signature
'org.codehaus.mojo.signature:java16:1.1@signature'
}
tasks
.
withType
(
Test
)
{
// Use entropy-gathering device specified on command line, if any
systemProperty
'java.security.egd'
,
System
.
getProperty
(
'java.security.egd'
)
}
Write
Preview
Markdown
is supported
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