repo.or.cz
/
binutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
MAINTAINERS (SH): Remove my entry.
[binutils.git]
/
gold
/
testsuite
/
testmain.cc
blob
eb46b72d84f6c84238654b07dac0791a64d11d81
1
// testmain.cc -- main function for simplisitic gold test framework.
2
3
#include
"gold.h"
4
5
#include
"test.h"
6
7
using namespace
gold_testsuite
;
8
9
int
10
main
(
int
,
char
**
argv
)
11
{
12
gold
::
program_name
=
argv
[
0
];
13
14
Test_framework tf
;
15
Register_test
::
run_tests
(&
tf
);
16
17
exit
(
tf
.
failures
());
18
}