aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/testmain.cc
blob: eb46b72d84f6c84238654b07dac0791a64d11d81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// testmain.cc -- main function for simplisitic gold test framework.

#include "gold.h"

#include "test.h"

using namespace gold_testsuite;

int
main(int, char** argv)
{
  gold::program_name = argv[0];

  Test_framework tf;
  Register_test::run_tests(&tf);

  exit(tf.failures());
}