Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
0a137b78
Commit
0a137b78
authored
Jun 22, 2019
by
Isaac Nickaein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Appveyor: Set timeout of unit-tests in appveyor.yml instead of CMake
parent
f5591420
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
appveyor.yml
appveyor.yml
+3
-1
CMakeLists.txt
test/CMakeLists.txt
+0
-6
No files found.
appveyor.yml
View file @
0a137b78
...
...
@@ -103,4 +103,6 @@ build_script:
-
cmake --build . --config "%configuration%"
test_script
:
-
ctest -C "%configuration%" -V -j
# Set 1 hour timeout to avoid the occasional
# timeouts on test-unicode_all
-
ctest --timeout 3600 -C "%configuration%" -V -j
test/CMakeLists.txt
View file @
0a137b78
...
...
@@ -133,12 +133,6 @@ foreach(file ${files})
)
set_tests_properties
(
"
${
testcase
}
_all"
PROPERTIES LABELS
"all"
)
# Increase timeout for test-unicode_all on Debug build
string
(
TOUPPER
"
${
CMAKE_BUILD_TYPE
}
"
uppercase_CMAKE_BUILD_TYPE
)
if
((
"
${
testcase
}
"
STREQUAL
"test-unicode"
)
AND
(
uppercase_CMAKE_BUILD_TYPE STREQUAL DEBUG
))
set_tests_properties
(
"
${
testcase
}
_all"
PROPERTIES TIMEOUT 3600
)
endif
()
if
(
JSON_Valgrind
)
add_test
(
NAME
"
${
testcase
}
_valgrind"
COMMAND
${
memcheck_command
}
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
testcase
}
${
DOCTEST_TEST_FILTER
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment