aboutsummaryrefslogtreecommitdiff
path: root/driver/test_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'driver/test_main.cpp')
-rw-r--r--driver/test_main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver/test_main.cpp b/driver/test_main.cpp
index bf33517f..14340b87 100644
--- a/driver/test_main.cpp
+++ b/driver/test_main.cpp
@@ -12,10 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#include <rules_jni.h>
+
#include "gflags/gflags.h"
#include "gtest/gtest.h"
int main(int argc, char **argv) {
+ rules_jni_init(argv[0]);
::testing::InitGoogleTest(&argc, argv);
gflags::ParseCommandLineFlags(&argc, &argv, true);
return RUN_ALL_TESTS();