mirror of
https://github.com/signalapp/libsignal.git
synced 2026-04-30 11:37:30 +02:00
Make LIBSIGNAL_TESTING_ env vars available to Android and iOS tests
And adjust the existing ENCLAVE_SECRET tests and examples to use this (including Rust and Node's). This also requires adding an AndroidManifest.xml that notes the tests might use the network.
This commit is contained in:
@@ -102,5 +102,11 @@ Pod::Spec.new do |s|
|
||||
# Don't also link into the test target.
|
||||
'LIBSIGNAL_FFI_LIB_TO_LINK' => '',
|
||||
}
|
||||
|
||||
# Ideally we'd do this at run time, not configuration time, but CocoaPods doesn't make that easy.
|
||||
# This is good enough.
|
||||
test_spec.scheme = {
|
||||
environment_variables: ENV.select { |name, value| name.start_with?('LIBSIGNAL_TESTING_') }
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user