Only pass -handshaker-path in split handshakes tests.
This is a little inconvenient for external users of the test suite. It's also not very helpful to pass -handshaker-path in build configurations without a handshaker because there won't be a file there anyway. Change-Id: I6a8fdcfbbf86288876c4c6fda2a46d32663efb69 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/46244 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
c953ee4af7
commit
b2147413e0
@ -1463,8 +1463,6 @@ func runTest(statusChan chan statusMsg, test *testCase, shimPath string, mallocN
|
||||
flags = append(flags, "-tls-unique")
|
||||
}
|
||||
|
||||
flags = append(flags, "-handshaker-path", *handshakerPath)
|
||||
|
||||
if *waitForDebugger {
|
||||
flags = append(flags, "-wait-for-debugger")
|
||||
}
|
||||
@ -1857,7 +1855,7 @@ NextTest:
|
||||
shTest.name += "-Split"
|
||||
shTest.flags = make([]string, len(test.flags), len(test.flags)+1)
|
||||
copy(shTest.flags, test.flags)
|
||||
shTest.flags = append(shTest.flags, "-handoff")
|
||||
shTest.flags = append(shTest.flags, "-handoff", "-handshaker-path", *handshakerPath)
|
||||
|
||||
splitHandshakeTests = append(splitHandshakeTests, shTest)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user