File: testmain.cc

package info (click to toggle)
upb 0.0.0~git200730-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,680 kB
  • sloc: ansic: 16,828; cpp: 5,098; python: 360; pascal: 160; ruby: 21; sh: 19; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#include <stdlib.h>
#ifdef USE_GOOGLE
#include "base/init_google.h"
#endif

extern "C" {
int run_tests(int argc, char *argv[]);
}

int main(int argc, char *argv[]) {
#ifdef USE_GOOGLE
  InitGoogle(NULL, &argc, &argv, true);
#endif
  run_tests(argc, argv);
}