Skip to content

Commit f8954f1

Browse files
authored
Merge pull request #127 from cxw42/core-test-issue-28
Update core tests: fixes for CRLF in multiline tests
2 parents c718cef + 2a91fee commit f8954f1

5 files changed

Lines changed: 9 additions & 3 deletions

File tree

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ build_script:
9494

9595
test_script:
9696
# Run the core tests
97-
- ctest . --output-on-failure
97+
- ctest . --output-on-failure -C Debug
9898

9999
# CTestCustom specifies skipping UTF-8 tests on Windows.
100100
- cmd: echo "Reminder - did not try UTF-8"

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Make sure xvfb works - https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-xvfb-directly
2+
dist: trusty
3+
14
matrix:
25
include:
36
- name: "plugin"

tests/core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ if(NOT WIN32)
4545
else()
4646
set(EDITORCONFIG_CMD "${CMAKE_SOURCE_DIR}/editorconfig.bat")
4747
endif()
48+
set(EDITORCONFIG_CMD_IS_TARGET FALSE)
4849

4950
add_subdirectory(tests)
5051

tests/travis-test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ else # test core
1414
mkdir build
1515
cd build
1616
cmake ..
17-
ctest . --output-on-failure
17+
ctest . --output-on-failure -VV -C Debug
18+
# -C Debug: for Visual Studio builds, you have to specify
19+
# a configuration.
1820
fi

0 commit comments

Comments
 (0)