This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
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
Fix test_util_file for VS2013 too, but skip all the tests for anything older than that because the limitations are too inconvenient.
tags/json-c-0.14-20200419
Eric Haszlakiewicz
5 years ago
parent
b99be9cf4e
commit
41f434e89f
2 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
CMakeLists.txt
+1
-0
tests/test_util_file.c
+ 3
- 1
CMakeLists.txt
View File
@@ -21,7 +21,9 @@ endif()
include(CTest)
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
if (CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING AND
(NOT MSVC OR NOT (MSVC_VERSION LESS 1800)) # Tests need at least VS2013
)
add_subdirectory(tests)
endif()
+ 1
- 0
tests/test_util_file.c
View File
@@ -19,6 +19,7 @@
#include "json.h"
#include "json_util.h"
#include "snprintf_compat.h"
static void test_read_valid_with_fd(const char *testdir);
static void test_read_valid_nested_with_fd(const char *testdir);
Write
Preview
Loading…
Cancel
Save