xref: /aosp_15_r20/external/jazzer-api/launcher/test_main.cpp (revision 33edd6723662ea34453766bfdca85dbfdd5342b8)
1*33edd672SMark // Copyright 2021 Code Intelligence GmbH
2*33edd672SMark //
3*33edd672SMark // Licensed under the Apache License, Version 2.0 (the "License");
4*33edd672SMark // you may not use this file except in compliance with the License.
5*33edd672SMark // You may obtain a copy of the License at
6*33edd672SMark //
7*33edd672SMark //      http://www.apache.org/licenses/LICENSE-2.0
8*33edd672SMark //
9*33edd672SMark // Unless required by applicable law or agreed to in writing, software
10*33edd672SMark // distributed under the License is distributed on an "AS IS" BASIS,
11*33edd672SMark // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*33edd672SMark // See the License for the specific language governing permissions and
13*33edd672SMark // limitations under the License.
14*33edd672SMark 
15*33edd672SMark #include <rules_jni.h>
16*33edd672SMark 
17*33edd672SMark #include "gtest/gtest.h"
18*33edd672SMark 
main(int argc,char ** argv)19*33edd672SMark int main(int argc, char **argv) {
20*33edd672SMark   rules_jni_init(argv[0]);
21*33edd672SMark   ::testing::InitGoogleTest(&argc, argv);
22*33edd672SMark   return RUN_ALL_TESTS();
23*33edd672SMark }
24