diff options
Diffstat (limited to 'firmware/test/buflib/system-hosted.h')
-rw-r--r-- | firmware/test/buflib/system-hosted.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/firmware/test/buflib/system-hosted.h b/firmware/test/buflib/system-hosted.h deleted file mode 100644 index 40b5ea8f9f..0000000000 --- a/firmware/test/buflib/system-hosted.h +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2015 Thomas Jarosch | ||
11 | * | ||
12 | * Loosely based upon rbcodecplatform-unix.h from rbcodec | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or | ||
15 | * modify it under the terms of the GNU General Public License | ||
16 | * as published by the Free Software Foundation; either version 2 | ||
17 | * of the License, or (at your option) any later version. | ||
18 | * | ||
19 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
20 | * KIND, either express or implied. | ||
21 | * | ||
22 | ****************************************************************************/ | ||
23 | |||
24 | #ifndef _COMMON_UNITTEST_H | ||
25 | #define _COMMON_UNITTEST_H | ||
26 | |||
27 | /* debugf, logf */ | ||
28 | #define debugf(...) fprintf(stderr, __VA_ARGS__) | ||
29 | |||
30 | #ifndef logf | ||
31 | #define logf(...) do { fprintf(stderr, __VA_ARGS__); \ | ||
32 | putc('\n', stderr); \ | ||
33 | } while (0) | ||
34 | #endif | ||
35 | |||
36 | #ifndef panicf | ||
37 | #define panicf(...) do { fprintf(stderr, __VA_ARGS__); \ | ||
38 | putc('\n', stderr); \ | ||
39 | exit(-1); \ | ||
40 | } while (0) | ||
41 | #endif | ||
42 | |||
43 | #endif /* _COMMON_UNITTEST_H */ | ||