Auto merge of #924 - ebfull:init-sodium-gtest, r=ebfull
Initialize libsodium in the gtest suite. We left behind this initialization routine when we switched to gtest. I would rather we had moved those tests over in a separate PR instead of changing existing PRs at the last second -- we would have paid more attention to the consequences.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include "sodium.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
assert(sodium_init() != -1);
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user