Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ addons:
script:
- mkdir build && cd build
- cmake ..
- cmake --build . -- -j4 > build.log
- cmake --build . -- -j4 2> build.log
- cat build.log
- cd test
- ctest . -C Debug -V

- cd ..
after_failure:
- curl -s https://raw.githubusercontent.com/report-ci/scripts/master/upload.py | python - --tool gcc --input build.log
- curl -s https://raw.githubusercontent.com/report-ci/scripts/master/annotate.py | python - --tool gcc --input build.log

after_script:
- python <(curl -s https://raw.githubusercontent.com/report-ci/scripts/master/upload.py)
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ build_script:
- mkdir build && cd build
- cmake .. -DBOOST_ROOT=C:\\Libraries\\boost_1_67_0
- cmake --build . > build.log
- type build.log

after_build:
before_build:
Expand All @@ -18,8 +19,7 @@ test_script:
- ctest . -C Debug -V

on_failure:
- curl -s https://raw.githubusercontent.com/report-ci/scripts/master/upload.py | python - --tool msvc --input build.log

- curl -s https://raw.githubusercontent.com/report-ci/scripts/master/annotate.py | python - --tool msvc --input build.log

on_finish:
- curl -s https://raw.githubusercontent.com/report-ci/scripts/master/upload.py | python
6 changes: 3 additions & 3 deletions test/test_sys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ BOOST_AUTO_TEST_SUITE(system_suite)
BOOST_AUTO_TEST_CASE(win_test)
{
BOOST_CHECK(true);
BOOST_REQUIRE(BOOST_IS_DEFINED(_WIN32));
BOOST_REQUIRE(_WIN32);
}

#else

BOOST_AUTO_TEST_CASE(sys_test)
{
BOOST_WARN_MESSAGE(BOOST_IS_DEFINED(__unix__), "System is not linux");
BOOST_REQUIRE(!BOOST_IS_DEFINED(_WIN32));
BOOST_REQUIRE(!_WIN32);
}

#endif


BOOST_AUTO_TEST_CASE(gen_test)
{
BOOST_CHECK_MESSAGE(true, "some test would be here");
BOOST_CHECK_MESSAGE("some test would be here");
}

BOOST_AUTO_TEST_SUITE_END()