repo.or.cz
/
jitcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Changed current relation from BasicBlock to BasicBlockImpl, and Function
[jitcs.git]
/
tests
/
test_main.cpp
blob
b12da1c378b0f1d1020ea81600544d9c19f99b2b
1
#include
"unittest.h"
2
#include <stdio.h>
3
4
using namespace
jitcs
;
5
6
int
main
() {
7
UnitTest t
;
8
9
UnitTestRegistry
::
get
()->
runTests
(
t
);
10
11
printf
(
"total number of successful tests: %d
\n
"
,
t
.
getNumberOfSuccessfulTests
());
12
printf
(
"total number of failed tests: %d
\n
"
,
t
.
getNumberOfFailedTests
());
13
return
t
.
getNumberOfFailedTests
();
14
}