forward the the pairing password setting to the JDK
This commit is contained in:
parent
ee12e6e1a3
commit
c803265ac1
|
@ -39,6 +39,11 @@ if (!testTarget) {
|
||||||
testTarget = 'card'
|
testTarget = 'card'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def pairingPass = project.properties['im.status.keycard.test.pairing']
|
||||||
|
if (!pairingPass) {
|
||||||
|
pairingPass = 'KeycardTest'
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -85,7 +90,8 @@ compileTestJava {
|
||||||
}
|
}
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
def jvmArgs = ["-Dim.status.keycard.test.target=${testTarget}"]
|
def jvmArgs = ["-Dim.status.keycard.test.target=${testTarget}", "-Dim.status.keycard.test.pairing=${pairingPass}"]
|
||||||
|
|
||||||
if (testTarget == 'simulator') {
|
if (testTarget == 'simulator') {
|
||||||
jvmArgs.push('-noverify')
|
jvmArgs.push('-noverify')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue