From 13751625623626ef234efbc90148b90578078801 Mon Sep 17 00:00:00 2001 From: Niels Date: Mon, 15 Jun 2015 05:46:12 +0200 Subject: [PATCH] exclude Unicode tests from Valgrind to avoid timeout --- .travis.yml | 4 ++-- README.md | 2 +- test/unit.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e12471a02..1a5bc24da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,12 +13,12 @@ before_install: script: - make - - ./json_unit + - ./json_unit "*" - valgrind --error-exitcode=1 --leak-check=full ./json_unit after_success: - make clean - touch src/json.hpp - make json_unit CXXFLAGS="-fprofile-arcs -ftest-coverage -std=c++11" - - ./json_unit + - ./json_unit "*" - coveralls --exclude test/catch.hpp --exclude test/unit.cpp --include src/json.hpp --gcov-options '\-lp' --gcov 'gcov-4.9' diff --git a/README.md b/README.md index d973a65ed..8383166ed 100644 --- a/README.md +++ b/README.md @@ -395,7 +395,7 @@ To compile and run the tests, you need to execute ```sh $ make -$ ./json_unit +$ ./json_unit "*" =============================================================================== All tests passed (3341006 assertions in 22 test cases) diff --git a/test/unit.cpp b/test/unit.cpp index 8bf960bf2..3a4904605 100644 --- a/test/unit.cpp +++ b/test/unit.cpp @@ -8716,7 +8716,7 @@ TEST_CASE("compliance tests from nativejson-benchmark") } } -TEST_CASE("Unicode") +TEST_CASE("Unicode", "[hide]") { SECTION("full enumeration of Unicode codepoints") {