This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
jdk-build-libs
/
json-c
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
11
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
add common header for all tests
resolves
#406
pull/497/head
andy5995
6 years ago
parent
07ea04e651
commit
b76c1e585c
No known key found for this signature in database
GPG Key ID:
6BFEC9B82603CAF
3 changed files
with
9 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
json.h
+1
-1
tests/Makefile.am
+4
-0
tests/test_common.h
+ 4
- 0
json.h
View File
@@ -35,4 +35,8 @@ extern "C" {
}
#endif
#ifdef TEST
#include "test_common.h"
#endif
#endif
+ 1
- 1
tests/Makefile.am
View File
@@ -1,5 +1,5 @@
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tests
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tests
-DTEST
LDADD= $(LIBJSON_LA)
+ 4
- 0
tests/test_common.h
View File
@@ -0,0 +1,4 @@
#ifdef NDEBUG
#undef NDEBUG
#endif
Write
Preview
Loading…
Cancel
Save