[Groonga-commit] groonga/groonga at b1d8d53 [master] test: ignore only on Travis CI

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 16 21:23:08 JST 2015


Kouhei Sutou	2015-02-16 21:23:08 +0900 (Mon, 16 Feb 2015)

  New Revision: b1d8d5386e13391064115a73d21d4c838f3e90f5
  https://github.com/groonga/groonga/commit/b1d8d5386e13391064115a73d21d4c838f3e90f5

  Message:
    test: ignore only on Travis CI

  Modified files:
    test/unit/core/test-database-create.c
    test/unit/core/test-inverted-index.c

  Modified: test/unit/core/test-database-create.c (+4 -1)
===================================================================
--- test/unit/core/test-database-create.c    2015-02-16 21:21:08 +0900 (27c4d5d)
+++ test/unit/core/test-database-create.c    2015-02-16 21:23:08 +0900 (a492700)
@@ -107,7 +107,10 @@ test_create_with_long_path(void)
   GString *long_path;
   const gchar last_component[] = G_DIR_SEPARATOR_S "db";
 
-  cut_omit("It is crashed on Travis CI. Why?");
+  if (getenv("TRAGVIS")) {
+    cut_omit("It is crashed on Travis CI. Why?");
+  }
+
   long_path = grn_long_path_new(tmp_directory,
                                 max_path - strlen(last_component));
   g_mkdir_with_parents(long_path->str, 0700);

  Modified: test/unit/core/test-inverted-index.c (+3 -1)
===================================================================
--- test/unit/core/test-inverted-index.c    2015-02-16 21:21:08 +0900 (fb833ef)
+++ test/unit/core/test-inverted-index.c    2015-02-16 21:23:08 +0900 (83f334c)
@@ -212,7 +212,9 @@ test_create_with_long_path(void)
   GString *long_path;
   const gchar last_component[] = G_DIR_SEPARATOR_S "index";
 
-  cut_omit("It is crashed on Travis CI. Why?");
+  if (getenv("TRAGVIS")) {
+    cut_omit("It is crashed on Travis CI. Why?");
+  }
 
   long_path = grn_long_path_new(path, max_size - strlen(last_component) - 1);
   g_free(path);
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index