repo.or.cz
/
xiph-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add Russian translation provided by Валерий Крувялис <valkru@mail.ru>
[xiph-mirror.git]
/
theora-old
/
tests
/
tests.h
blob
cf2ca50664a7d5cf3ab9adbedc546273624e8f7d
1
#include
"config.h"
2
3
#include <stdio.h>
4
#include <stdlib.h>
5
6
#define INFO(str) \
7
{ printf (
"---- %s ...
\n
"
, (str)); }
8
9
#define WARN(str) \
10
{ printf (
"%s:%d: warning: %s
\n
"
, __FILE__, __LINE__, (str)); }
11
12
#define FAIL(str) \
13
{ printf (
"%s:%d: %s
\n
"
, __FILE__, __LINE__, (str)); exit(1); }
14
15
#undef MIN
16
#define MIN(a,b) ((a)<(b)?(a):(b))