You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(52) |
Nov
(902) |
Dec
(89) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(10) |
Feb
(103) |
Mar
(216) |
Apr
(184) |
May
(435) |
Jun
(123) |
Jul
(145) |
Aug
(107) |
Sep
(53) |
Oct
(140) |
Nov
(59) |
Dec
(40) |
| 2009 |
Jan
(28) |
Feb
(39) |
Mar
(70) |
Apr
(35) |
May
(146) |
Jun
(23) |
Jul
(6) |
Aug
(110) |
Sep
(65) |
Oct
(111) |
Nov
(127) |
Dec
(1) |
| 2010 |
Jan
(12) |
Feb
(2) |
Mar
(56) |
Apr
(123) |
May
(13) |
Jun
(120) |
Jul
(42) |
Aug
(2) |
Sep
(23) |
Oct
(3) |
Nov
(10) |
Dec
(1) |
| 2011 |
Jan
(9) |
Feb
(99) |
Mar
(3) |
Apr
(1) |
May
(18) |
Jun
|
Jul
(43) |
Aug
(1) |
Sep
(1) |
Oct
(34) |
Nov
(7) |
Dec
(74) |
| 2012 |
Jan
(10) |
Feb
(10) |
Mar
(71) |
Apr
(1) |
May
(9) |
Jun
(8) |
Jul
(2) |
Aug
(97) |
Sep
(1) |
Oct
(16) |
Nov
(3) |
Dec
(33) |
| 2013 |
Jan
(26) |
Feb
(3) |
Mar
|
Apr
(4) |
May
(9) |
Jun
(2) |
Jul
(6) |
Aug
(2) |
Sep
|
Oct
|
Nov
(32) |
Dec
(2) |
| 2014 |
Jan
(38) |
Feb
(39) |
Mar
|
Apr
|
May
(11) |
Jun
(22) |
Jul
|
Aug
(3) |
Sep
(3) |
Oct
(7) |
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(1) |
Mar
(12) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Kouhei S. <nul...@cl...> - 2013-11-17 10:03:00
|
Kouhei Sutou 2013-11-17 19:02:40 +0900 (Sun, 17 Nov 2013) New Revision: eb319ac4ef2942b8bbae4a1a7d565e96de7ff80f https://github.com/clear-code/cutter/commit/eb319ac4ef2942b8bbae4a1a7d565e96de7ff80f Message: doc cygwin: update Cygwin's setup.exe URL Modified files: doc/install-to-cygwin.rd doc/install-to-cygwin.rd.ja Modified: doc/install-to-cygwin.rd (+2 -1) =================================================================== --- doc/install-to-cygwin.rd 2013-11-17 18:53:23 +0900 (a967ef7) +++ doc/install-to-cygwin.rd 2013-11-17 19:02:40 +0900 (899c610) @@ -13,7 +13,8 @@ but we need to apply a patch to GLib). First, we download Cygwin 1.7 installer: -((<URL:http://cygwin.com/setup.exe>)) + * ((<Installer for 32-bit environment|URL:http://cygwin.com/setup-x86.exe>)) + * ((<Installer for 64-bit environment|URL:http://cygwin.com/setup-x86_64.exe>)) Next, we install the following packages with the downloaded installer: Modified: doc/install-to-cygwin.rd.ja (+2 -1) =================================================================== --- doc/install-to-cygwin.rd.ja 2013-11-17 18:53:23 +0900 (9706336) +++ doc/install-to-cygwin.rd.ja 2013-11-17 19:02:40 +0900 (01b417e) @@ -12,7 +12,8 @@ Cygwin 1.7を対象とします。 まず、Cygwin 1.7のインストーラをダウンロードします。 -((<URL:http://cygwin.com/setup.exe>)) + * ((<32bit用インストーラ|URL:http://cygwin.com/setup-x86.exe>)) + * ((<64bit用インストーラ|URL:http://cygwin.com/setup-x86_64.exe>)) 次に、インストーラを使って以下のパッケージをインストールしま す。 |
|
From: Kouhei S. <nul...@cl...> - 2013-11-17 09:53:44
|
Kouhei Sutou 2013-11-17 18:53:23 +0900 (Sun, 17 Nov 2013) New Revision: 659e1480d12f4acc019e358c0e8bd56980ca7c9c https://github.com/clear-code/cutter/commit/659e1480d12f4acc019e358c0e8bd56980ca7c9c Message: loader elf: add trace logs Modified files: cutter/cut-elf-loader.c Modified: cutter/cut-elf-loader.c (+51 -4) =================================================================== --- cutter/cut-elf-loader.c 2013-11-17 18:51:25 +0900 (19dce47) +++ cutter/cut-elf-loader.c 2013-11-17 18:53:23 +0900 (2bb3f38) @@ -1,6 +1,6 @@ /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* - * Copyright (C) 2009 Kouhei Sutou <ko...@co...> + * Copyright (C) 2009-2013 Kouhei Sutou <ko...@co...> * * This library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by @@ -31,6 +31,7 @@ #include <glib/gstdio.h> #include "cut-elf-loader.h" +#include "cut-logger.h" #define CUT_ELF_LOADER_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), CUT_TYPE_ELF_LOADER, CutELFLoaderPrivate)) @@ -173,6 +174,7 @@ cut_elf_loader_is_elf (CutELFLoader *loader) unsigned char ident[EI_NIDENT]; priv = CUT_ELF_LOADER_GET_PRIVATE(loader); + cut_log_trace("[loader][elf][open] <%s>", priv->so_filename); if (!g_file_get_contents(priv->so_filename, &priv->content, &priv->length, &error)) { g_warning("can't read shared library file: %s", error->message); @@ -189,9 +191,11 @@ cut_elf_loader_is_elf (CutELFLoader *loader) (ident[EI_MAG3] == ELFMAG3)) { switch (ident[EI_CLASS]) { case ELFCLASS32: + cut_log_trace("[loader][elf][bit] <32>"); priv->bit = ARCHITECTURE_32BIT; break; case ELFCLASS64: + cut_log_trace("[loader][elf][bit] <64>"); priv->bit = ARCHITECTURE_64BIT; break; default: @@ -201,6 +205,7 @@ cut_elf_loader_is_elf (CutELFLoader *loader) break; } } else { + cut_log_trace("[loader][elf][header][unknown]"); g_free(priv->content); priv->content = NULL; } @@ -209,6 +214,7 @@ cut_elf_loader_is_elf (CutELFLoader *loader) uint16_t type; memcpy(&type, priv->content + sizeof(ident), sizeof(type)); + cut_log_trace("[loader][elf][type] <%#x>", type); if (type != ET_DYN) { g_warning("not dynamic library: %#x", type); g_free(priv->content); @@ -286,6 +292,7 @@ collect_symbol_information (CutELFLoaderPrivate *priv, section_names = priv->content + section_name_header->sh_offset; } + cut_log_trace("[loader][elf][collect-symbols][n-header] <%d>", n_headers); for (i = 0; i < n_headers; i++) { Elf32_Shdr *section_header_32 = NULL; Elf64_Shdr *section_header_64 = NULL; @@ -346,6 +353,40 @@ collect_symbol_information (CutELFLoaderPrivate *priv, return collected; } + +static const gchar * +inspect_type (unsigned char info) +{ + switch (info) { + case STT_NOTYPE: + return "no type"; + case STT_OBJECT: + return "object"; + case STT_FUNC: + return "function"; + case STT_SECTION: + return "section"; + case STT_FILE: + return "file"; + default: + return "unknown"; + } +} + +static const gchar * +inspect_bind (unsigned char bind) +{ + switch (bind) { + case STB_LOCAL: + return "local"; + case STB_GLOBAL: + return "global"; + case STB_WEAK: + return "weak"; + default: + return "unknown"; + } +} #endif GList * @@ -369,6 +410,7 @@ cut_elf_loader_collect_symbols (CutELFLoader *loader) &text_section_header_index)) return NULL; + cut_log_trace("[loader][elf][collect-symbols][n-symbols] <%d>", n_entries); for (i = 0; i < n_entries; i++) { Elf32_Sym *symbol_32; Elf64_Sym *symbol_64; @@ -376,6 +418,7 @@ cut_elf_loader_collect_symbols (CutELFLoader *loader) unsigned char info, type, bind; uint16_t section_header_index; gsize offset; + const gchar *name; offset = symbol_section_offset + (i * symbol_entry_size); if (priv->bit == ARCHITECTURE_32BIT) { @@ -394,12 +437,16 @@ cut_elf_loader_collect_symbols (CutELFLoader *loader) section_header_index = symbol_64->st_shndx; } + name = priv->content + name_section_offset + name_index; + cut_log_trace("[loader][elf][collect-symbols][symbol] <%s>:<%s>:<%s>", + name_index > 0 ? name : "null", + inspect_type(type), + inspect_bind(bind)); if ((type == STT_FUNC) && (bind == STB_GLOBAL) && (section_header_index == text_section_header_index)) { - const gchar *name; - - name = priv->content + name_section_offset + name_index; + cut_log_trace("[loader][elf][collect-symbols][symbol][collect] <%s>", + name); symbols = g_list_prepend(symbols, g_strdup(name)); } } |
|
From: Kouhei S. <nul...@cl...> - 2013-11-17 09:51:43
|
Kouhei Sutou 2013-11-17 18:51:25 +0900 (Sun, 17 Nov 2013) New Revision: d7147c2d15917474dc1c43cd42516b158f6b2930 https://github.com/clear-code/cutter/commit/d7147c2d15917474dc1c43cd42516b158f6b2930 Message: loader elf: fix a bug that wrong information is used in the recent commit The commit is da6741e994e5ac38010a3ecb433cfa007ee22d9a. We need type information from info by ELFXX_ST_BIND() like bind information. Modified files: cutter/cut-elf-loader.c Modified: cutter/cut-elf-loader.c (+4 -2) =================================================================== --- cutter/cut-elf-loader.c 2013-11-17 18:44:46 +0900 (e49fa41) +++ cutter/cut-elf-loader.c 2013-11-17 18:51:25 +0900 (19dce47) @@ -373,7 +373,7 @@ cut_elf_loader_collect_symbols (CutELFLoader *loader) Elf32_Sym *symbol_32; Elf64_Sym *symbol_64; uint32_t name_index; - unsigned char info, bind; + unsigned char info, type, bind; uint16_t section_header_index; gsize offset; @@ -382,17 +382,19 @@ cut_elf_loader_collect_symbols (CutELFLoader *loader) symbol_32 = (Elf32_Sym *)(priv->content + offset); name_index = symbol_32->st_name; info = symbol_32->st_info; + type = ELF32_ST_TYPE(info); bind = ELF32_ST_BIND(info); section_header_index = symbol_32->st_shndx; } else { symbol_64 = (Elf64_Sym *)(priv->content + offset); name_index = symbol_64->st_name; info = symbol_64->st_info; + type = ELF64_ST_TYPE(info); bind = ELF64_ST_BIND(info); section_header_index = symbol_64->st_shndx; } - if ((info == STT_FUNC) && + if ((type == STT_FUNC) && (bind == STB_GLOBAL) && (section_header_index == text_section_header_index)) { const gchar *name; |
|
From: Kouhei S. <nul...@cl...> - 2013-11-17 09:45:15
|
Kouhei Sutou 2013-11-17 18:44:46 +0900 (Sun, 17 Nov 2013) New Revision: 42b134c199ed13f411ab11abf393e88bdb95e77f https://github.com/clear-code/cutter/commit/42b134c199ed13f411ab11abf393e88bdb95e77f Message: loader: add trace logs for BFD/strings-like based symbol collectors Modified files: cutter/cut-loader.c Modified: cutter/cut-loader.c (+24 -1) =================================================================== --- cutter/cut-loader.c 2013-11-17 17:50:47 +0900 (1dfd2b0) +++ cutter/cut-loader.c 2013-11-17 18:44:46 +0900 (2f6149f) @@ -676,6 +676,8 @@ collect_symbols_bfd (CutLoaderPrivate *priv) char symbol_leading_char; bfd *abfd; + cut_log_trace("[loader][bfd][open] <%s>", + priv->so_filename); abfd = bfd_openr(priv->so_filename, NULL); if (!abfd) return NULL; @@ -693,6 +695,8 @@ collect_symbols_bfd (CutLoaderPrivate *priv) symbol_table = (asymbol **)g_new(char, storage_needed); number_of_symbols = bfd_canonicalize_symtab(abfd, symbol_table); + cut_log_trace("[loader][bfd][collect-symbols][n-smbols] <%d>", + number_of_symbols); symbol_leading_char = bfd_get_symbol_leading_char(abfd); if (bfd_get_flavour(abfd) == bfd_target_mach_o_flavour) @@ -702,6 +706,8 @@ collect_symbols_bfd (CutLoaderPrivate *priv) symbol_info info; bfd_symbol_info(symbol_table[i], &info); + cut_log_trace("[loader][bfd][collect-symbols][symbol] <%s>:<%c>", + info.name, info.type); if (info.type == 'T' || (priv->binary_type == CUT_BINARY_TYPE_MACH_O_BUNDLE && info.type == 'U')) { @@ -710,6 +716,8 @@ collect_symbols_bfd (CutLoaderPrivate *priv) while (symbol_leading_char == name[0]) name++; symbols = g_list_prepend(symbols, g_strdup(name)); + cut_log_trace("[loader][bfd][collect-symbols][symbol][collect] <%s>", + name); } } @@ -775,6 +783,8 @@ collect_symbols_scan (CutLoaderPrivate *priv) GList *symbols; gboolean first_buffer = TRUE; + cut_log_trace("[loader][scan][open] <%s>", + priv->so_filename); input = g_fopen(priv->so_filename, "rb"); if (!input) return NULL; @@ -794,7 +804,12 @@ collect_symbols_scan (CutLoaderPrivate *priv) size, priv->binary_type)) { g_string_append_c(name, buffer[i]); } else if (name->len > 0) { + cut_log_trace("[loader][scan][collect-symbols][symbol] <%s>", + name->str); if (is_valid_symbol_name(name)) { + cut_log_trace("[loader][scan][collect-symbols][symbol]" + "[collect] <%s>", + name->str); g_hash_table_insert(symbol_name_table, g_strdup(name->str), NULL); } @@ -803,10 +818,18 @@ collect_symbols_scan (CutLoaderPrivate *priv) } } - if (is_valid_symbol_name(name)) + cut_log_trace("[loader][scan][collect-symbols][symbol][last] <%s>", + name->str); + if (is_valid_symbol_name(name)) { + cut_log_trace("[loader][scan][collect-symbols][symbol][last][collect] " + "<%s>", + name->str); g_hash_table_insert(symbol_name_table, g_strdup(name->str), NULL); + } g_string_free(name, TRUE); + cut_log_trace("[loader][scan][collect-symbols][n-symbols] <%d>", + g_hash_table_size(symbol_name_table)); symbols = g_hash_table_get_keys(symbol_name_table); g_hash_table_unref(symbol_name_table); |
|
From: Kouhei S. <nul...@cl...> - 2013-11-17 08:51:10
|
Kouhei Sutou 2013-11-17 17:50:47 +0900 (Sun, 17 Nov 2013) New Revision: da6741e994e5ac38010a3ecb433cfa007ee22d9a https://github.com/clear-code/cutter/commit/da6741e994e5ac38010a3ecb433cfa007ee22d9a Message: loader elf: fix wrong comparision Info and bind aren't flags. They are just values. Modified files: cutter/cut-elf-loader.c Modified: cutter/cut-elf-loader.c (+2 -2) =================================================================== --- cutter/cut-elf-loader.c 2013-11-17 17:33:48 +0900 (eac173f) +++ cutter/cut-elf-loader.c 2013-11-17 17:50:47 +0900 (e49fa41) @@ -392,8 +392,8 @@ cut_elf_loader_collect_symbols (CutELFLoader *loader) section_header_index = symbol_64->st_shndx; } - if ((info & STT_FUNC) && - (bind & STB_GLOBAL) && + if ((info == STT_FUNC) && + (bind == STB_GLOBAL) && (section_header_index == text_section_header_index)) { const gchar *name; |
|
From: Kouhei S. <nul...@cl...> - 2013-11-17 08:34:05
|
Kouhei Sutou 2013-11-17 17:33:48 +0900 (Sun, 17 Nov 2013) New Revision: eaf4df2c92bee1e008a42782b82c365388188d0f https://github.com/clear-code/cutter/commit/eaf4df2c92bee1e008a42782b82c365388188d0f Message: Remove too much ";" Modified files: cutter/cut-elf-loader.c Modified: cutter/cut-elf-loader.c (+2 -2) =================================================================== --- cutter/cut-elf-loader.c 2013-11-17 17:16:15 +0900 (29507db) +++ cutter/cut-elf-loader.c 2013-11-17 17:33:48 +0900 (eac173f) @@ -321,7 +321,7 @@ collect_symbol_information (CutELFLoaderPrivate *priv, if (priv->bit == ARCHITECTURE_32BIT) { if (dynsym_32 && dynstr_32 && _text_section_header_index > 0) { collected = TRUE; - *symbol_section_offset = dynsym_32->sh_offset;; + *symbol_section_offset = dynsym_32->sh_offset; *symbol_entry_size = dynsym_32->sh_entsize; if (*symbol_entry_size > 0) *n_entries = dynsym_32->sh_size / *symbol_entry_size; @@ -333,7 +333,7 @@ collect_symbol_information (CutELFLoaderPrivate *priv, } else { if (dynsym_64 && dynstr_64 && _text_section_header_index > 0) { collected = TRUE; - *symbol_section_offset = dynsym_64->sh_offset;; + *symbol_section_offset = dynsym_64->sh_offset; *symbol_entry_size = dynsym_64->sh_entsize; if (*symbol_entry_size > 0) *n_entries = dynsym_64->sh_size / *symbol_entry_size; |
|
From: Kouhei S. <nul...@cl...> - 2013-11-17 08:16:42
|
Kouhei Sutou 2013-11-17 17:16:15 +0900 (Sun, 17 Nov 2013) New Revision: 43508b1f59147b6adfe189de9ec71a71c8e0aa84 https://github.com/clear-code/cutter/commit/43508b1f59147b6adfe189de9ec71a71c8e0aa84 Message: Use "%#" for adding prefix ("0x") that describes base Modified files: cutter/cut-elf-loader.c Modified: cutter/cut-elf-loader.c (+1 -1) =================================================================== --- cutter/cut-elf-loader.c 2013-11-14 00:02:56 +0900 (d1f7c44) +++ cutter/cut-elf-loader.c 2013-11-17 17:16:15 +0900 (29507db) @@ -210,7 +210,7 @@ cut_elf_loader_is_elf (CutELFLoader *loader) memcpy(&type, priv->content + sizeof(ident), sizeof(type)); if (type != ET_DYN) { - g_warning("not dynamic library: 0x%x", type); + g_warning("not dynamic library: %#x", type); g_free(priv->content); priv->content = NULL; } |
|
From: Kouhei S. <nul...@cl...> - 2013-11-13 15:03:16
|
Kouhei Sutou 2013-11-14 00:02:56 +0900 (Thu, 14 Nov 2013) New Revision: 1eec7a6e67f5db5a56030583b9a3d61ce9c6993d https://github.com/clear-code/cutter/commit/1eec7a6e67f5db5a56030583b9a3d61ce9c6993d Message: Start to add trace logs to loader We need more trace logs to debug no tests are loaded case. Modified files: cutter/cut-loader.c Modified: cutter/cut-loader.c (+25 -1) =================================================================== --- cutter/cut-loader.c 2013-11-12 12:53:19 +0900 (15a78d7) +++ cutter/cut-loader.c 2013-11-14 00:02:56 +0900 (1dfd2b0) @@ -1,6 +1,6 @@ /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* - * Copyright (C) 2007-2012 Kouhei Sutou <ko...@cl...> + * Copyright (C) 2007-2013 Kouhei Sutou <ko...@cl...> * * This library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by @@ -40,6 +40,7 @@ #include "cut-pe-loader.h" #include "cut-test-iterator.h" #include "cut-experimental.h" +#include "cut-logger.h" #define TEST_SUITE_SO_NAME_PREFIX "suite" #define TEST_NAME_PREFIX "test_" @@ -1217,6 +1218,7 @@ cut_loader_load_test_cases (CutLoader *loader) if (!priv->so_filename) return NULL; + cut_log_trace("[loader][test-cases][open] <%s>", priv->so_filename); priv->module = g_module_open(priv->so_filename, G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL); if (!priv->module) { @@ -1230,24 +1232,39 @@ cut_loader_load_test_cases (CutLoader *loader) g_object_unref(priv->elf_loader); priv->elf_loader = NULL; } + cut_log_trace("[loader][test-cases][elf][%s] <%s>", + priv->elf_loader ? "yes" : "no", + priv->so_filename); priv->mach_o_loader = cut_mach_o_loader_new(priv->so_filename); if (!cut_mach_o_loader_is_mach_o(priv->mach_o_loader)) { g_object_unref(priv->mach_o_loader); priv->mach_o_loader = NULL; } + cut_log_trace("[loader][test-cases][mach-o][%s] <%s>", + priv->mach_o_loader ? "yes" : "no", + priv->so_filename); priv->pe_loader = cut_pe_loader_new(priv->so_filename); if (!cut_pe_loader_is_dll(priv->pe_loader)) { g_object_unref(priv->pe_loader); priv->pe_loader = NULL; } + cut_log_trace("[loader][test-cases][pe][%s] <%s>", + priv->pe_loader ? "yes" : "no", + priv->so_filename); priv->symbols = collect_symbols(priv); + cut_log_trace("[loader][test-cases][collect-symbols] <%d>:<%s>", + g_list_length(priv->symbols), + priv->so_filename); if (!priv->symbols) return NULL; test_names = collect_test_functions(priv); + cut_log_trace("[loader][test-cases][collect-test-functions] <%d>:<%s>", + g_list_length(test_names), + priv->so_filename); if (!test_names) return NULL; @@ -1334,6 +1351,7 @@ cut_loader_load_test_suite (CutLoader *loader) if (!priv->so_filename) return NULL; + cut_log_trace("[loader][test-suite][open] <%s>", priv->so_filename); priv->module = g_module_open(priv->so_filename, G_MODULE_BIND_LAZY); if (!priv->module) { g_warning("can't load a shared object for test suite: %s: %s", @@ -1345,10 +1363,16 @@ cut_loader_load_test_suite (CutLoader *loader) warmup_function_name = g_strconcat(prefix, "_", "warmup", NULL); g_module_symbol(priv->module, warmup_function_name, (gpointer)&warmup); + cut_log_trace("[loader][test-suite][warmup][%s] <%s>", + warmup ? "found" : "not-found", + warmup_function_name); g_free(warmup_function_name); cooldown_function_name = g_strconcat(prefix, "_", "cooldown", NULL); g_module_symbol(priv->module, cooldown_function_name, (gpointer)&cooldown); + cut_log_trace("[loader][test-suite][cooldown][%s] <%s>", + cooldown ? "found" : "not-found", + cooldown_function_name); g_free(cooldown_function_name); g_free(prefix); |
|
From: Kouhei S. <nul...@cl...> - 2013-11-12 03:53:41
|
Kouhei Sutou 2013-11-12 12:53:19 +0900 (Tue, 12 Nov 2013) New Revision: 41fb6862e930130a89f85db9aad254586623dabd https://github.com/clear-code/cutter/commit/41fb6862e930130a89f85db9aad254586623dabd Message: doc: update XML report format [cutter-users-ja:91] Reported by Siganai SE. Thanks!!! Modified files: README README.ja Modified: README (+14 -4) =================================================================== --- README 2013-11-07 12:01:16 +0900 (f80b091) +++ README 2013-11-12 12:53:19 +0900 (e33bed4) @@ -205,23 +205,32 @@ option is specified. A reported XML has the following structure: <report> + <!-- "result" tag is generated for a test result. + Normally, a "result" tag is generated for a test. + If you use cut_message(), you will get two or more "result" tags + for a test. --> <result> <test-case> <name>TEST CASE NAME</name> <description>DESCRIPTION OF TEST CASE (if exists)</description> + <start-time>START TIME OF TEST CASE (ISO 8601 format) [e.g.: 2013-11-12T03:32:56.691676Z]</start-time> + <elapsed>ELAPSED TIME OF TEST CASE (in seconds) [e.g.: 0.030883]</elapsed> </test-case> <test> <name>TEST NAME</name> <description>DESCRIPTION OF TEST CASE (if exists)</description> + <start-time>START TIME OF TEST (ISO 8601 format) [e.g.: 2013-11-12T03:32:56.691823Z]</start-time> + <elapsed>ELAPSED TIME OF TEST (in seconds) [e.g.: 0.030883]</elapsed> <option><!-- ATTRIBUTE INFORMATION (if exists) --> - <name>ATTRIBUTE NAME (e.g.: bug)</name> - <value>ATTRIBUTE VALUE (e.g.: 1234)</value> + <name>ATTRIBUTE NAME [e.g.: bug]</name> + <value>ATTRIBUTE VALUE [e.g.: 1234]</value> </option> <option> ... </option> + ... </test> - <status>TEST RESULT ([success|failure|error|pending|notification])</status> + <status>TEST RESULT (one of them: success, notification, omission, pending, failure, error, crash)</status> <detail>DETAIL OF TEST RESULT (if exists)</detail> <backtrace><!-- BACKTRACE (if exists) --> <entry> @@ -233,7 +242,8 @@ structure: ... </entry> </backtrace> - <elapsed>ELAPSED TIME (e.g.: 0.000010)</elapsed> + <start-time>START TIME OF TEST (ISO 8601 format) [e.g.: 2013-11-12T03:32:56.691823Z]</start-time> + <elapsed>ELAPSED TIME OF TEST (in seconds) [e.g.: 0.030883]</elapsed> </result> <result> ... Modified: README.ja (+13 -4) =================================================================== --- README.ja 2013-11-07 12:01:16 +0900 (61aaca6) +++ README.ja 2013-11-12 12:53:19 +0900 (6effccf) @@ -216,23 +216,31 @@ test_test_case_count()関数内で起こったことがわかります。 います。 <report> + <!-- テスト結果毎にresultタグを出力する。 + 通常は1つのテストにつき1つだが、 + cut_message()を使うと1つのテストにつき複数のテスト結果が含まれる。 --> <result> <test-case> <name>テストケース名</name> <description>テストケースの説明(もしあれば)</description> + <start-time>テストケースの開始時間(ISO 8601形式)[例:2013-11-12T03:32:56.691676Z]</start-time> + <elapsed>テストケースの実行時間(単位は秒)[例:0.030883]</elapsed> </test-case> <test> <name>テスト名</name> <description>テストの説明(もしあれば)</description> + <start-time>テストの開始時間(ISO 8601形式)[例:2013-11-12T03:32:56.691823Z]</start-time> + <elapsed>テストの実行時間(単位は秒)[例:0.030883]</elapsed> <option><!-- 属性情報(もしあれば) --> - <name>属性名(例: bug)</name> - <value>属性値(例: 1234)</value> + <name>属性名[例:bug]</name> + <value>属性値[例:1234]</value> </option> <option> ... </option> + ... </test> - <status>テスト結果([success|failure|error|pending|notification])</status> + <status>テスト結果(次のうちのどれか:success, notification, omission, pending, failure, error, crash)</status> <detail>テスト結果の詳細(もしあれば)</detail> <backtrace><!-- バックトレース(もしあれば) --> <entry> @@ -244,7 +252,8 @@ test_test_case_count()関数内で起こったことがわかります。 ... </entry> </backtrace> - <elapsed>実行時間(例: 0.000010)</elapsed> + <start-time>テストの開始時間(ISO 8601形式)[例:2013-11-12T03:32:56.691823Z]</start-time> + <elapsed>テストの実行時間(単位は秒)[例:0.030883]</elapsed> </result> <result> ... |
|
From: Kenji O. <nul...@cl...> - 2013-11-07 03:02:42
|
Kenji Okimoto 2013-11-07 12:01:16 +0900 (Thu, 07 Nov 2013) New Revision: ed75f41979240135c7f57632a0cc32f20f2b3baf https://github.com/clear-code/cutter/commit/ed75f41979240135c7f57632a0cc32f20f2b3baf Message: Revert "travis: follow download URL change on SF.net" This reverts commit bf343f9538d46ea2ac9d8ca673b2e60e97bf8eab. See https://github.com/clear-code/cutter/commit/bf343f9538d46ea2ac9d8ca673b2e60e97bf8eab#commitcomment-4520815 Modified files: data/travis/setup.sh Modified: data/travis/setup.sh (+1 -1) =================================================================== --- data/travis/setup.sh 2013-11-05 22:08:44 +0900 (c027a0a) +++ data/travis/setup.sh 2013-11-07 12:01:16 +0900 (93fdbca) @@ -5,7 +5,7 @@ set -e distribution=$(lsb_release --short --id | tr 'A-Z' 'a-z') code_name=$(lsb_release --short --codename) component=main -apt_url_base=http://downloads.sourceforge.net/cutter +apt_url_base=http://downloads.sourceforge.net/project/cutter cat <<EOF | sudo tee /etc/apt/sources.list.d/cutter.list deb ${apt_url_base}/${distribution}/ ${code_name} ${component} deb-src ${apt_url_base}/${distribution}/ ${code_name} ${component} |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 13:09:05
|
Kouhei Sutou 2013-11-05 22:08:44 +0900 (Tue, 05 Nov 2013) New Revision: 41ebd0f3655388405bde028caa1a42a6f8180e05 https://github.com/clear-code/cutter/commit/41ebd0f3655388405bde028caa1a42a6f8180e05 Message: html: follow redirect download URL change on SF.net http://downloads.sourceforge.net/project/cutter/... -> http://downloads.sourceforge.net/ cutter/... ^^^^^^^^ Modified files: html/.htaccess Modified: html/.htaccess (+4 -4) =================================================================== --- html/.htaccess 2013-11-05 21:59:50 +0900 (6456f46) +++ html/.htaccess 2013-11-05 22:08:44 +0900 (0bed7ac) @@ -1,4 +1,4 @@ -Redirect permanent /debian/ http://downloads.sourceforge.net/project/cutter/debian/ -Redirect permanent /ubuntu/ http://downloads.sourceforge.net/project/cutter/ubuntu/ -Redirect permanent /centos/ http://downloads.sourceforge.net/project/cutter/centos/ -Redirect permanent /fedora/ http://downloads.sourceforge.net/project/cutter/fedora/ +Redirect permanent /debian/ http://downloads.sourceforge.net/cutter/debian/ +Redirect permanent /ubuntu/ http://downloads.sourceforge.net/cutter/ubuntu/ +Redirect permanent /centos/ http://downloads.sourceforge.net/cutter/centos/ +Redirect permanent /fedora/ http://downloads.sourceforge.net/cutter/fedora/ |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 13:00:07
|
Kouhei Sutou 2013-11-05 21:59:50 +0900 (Tue, 05 Nov 2013) New Revision: bf343f9538d46ea2ac9d8ca673b2e60e97bf8eab https://github.com/clear-code/cutter/commit/bf343f9538d46ea2ac9d8ca673b2e60e97bf8eab Message: travis: follow download URL change on SF.net http://downloads.sourceforge.net/project/cutter/... -> http://downloads.sourceforge.net/ cutter/... ^^^^^^^^ Modified files: data/travis/setup.sh Modified: data/travis/setup.sh (+1 -1) =================================================================== --- data/travis/setup.sh 2013-11-05 21:56:10 +0900 (93fdbca) +++ data/travis/setup.sh 2013-11-05 21:59:50 +0900 (c027a0a) @@ -5,7 +5,7 @@ set -e distribution=$(lsb_release --short --id | tr 'A-Z' 'a-z') code_name=$(lsb_release --short --codename) component=main -apt_url_base=http://downloads.sourceforge.net/project/cutter +apt_url_base=http://downloads.sourceforge.net/cutter cat <<EOF | sudo tee /etc/apt/sources.list.d/cutter.list deb ${apt_url_base}/${distribution}/ ${code_name} ${component} deb-src ${apt_url_base}/${distribution}/ ${code_name} ${component} |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:56:31
|
Kouhei Sutou 2013-11-05 21:56:10 +0900 (Tue, 05 Nov 2013) New Revision: 754244a69b0f8ceba0a12f350038971b8142d523 https://github.com/clear-code/cutter/commit/754244a69b0f8ceba0a12f350038971b8142d523 Message: doc: follow download URL change on SF.net http://downloads.sourceforge.net/project/cutter/cutter-1.2.2.tar.gz -> http://downloads.sourceforge.net/ cutter/cutter-1.2.2.tar.gz ^^^^^^^^ "project/" is removed. [cutter-users-ja:91] Reported by Siganai SE. Thanks!!! Modified files: doc/install-to-cygwin.rd doc/install-to-cygwin.rd.ja doc/install-to-others.rd doc/install-to-others.rd.ja doc/install-to-solaris.rd doc/install-to-solaris.rd.ja Modified: doc/install-to-cygwin.rd (+1 -1) =================================================================== --- doc/install-to-cygwin.rd 2013-11-05 21:48:02 +0900 (e35565e) +++ doc/install-to-cygwin.rd 2013-11-05 21:56:10 +0900 (a967ef7) @@ -36,7 +36,7 @@ We enter into Cygwin. We run Cygwin. We install Cutter. % cd - % wget http://downloads.sourceforge.net/project/cutter/cutter-1.2.2.tar.gz + % wget http://downloads.sourceforge.net/cutter/cutter-1.2.2.tar.gz % tar xvzf cutter-1.2.2.tar.gz % cd cutter-1.2.2 % ./configure Modified: doc/install-to-cygwin.rd.ja (+1 -1) =================================================================== --- doc/install-to-cygwin.rd.ja 2013-11-05 21:48:02 +0900 (fb29367) +++ doc/install-to-cygwin.rd.ja 2013-11-05 21:56:10 +0900 (9706336) @@ -35,7 +35,7 @@ Cygwin 1.7を対象とします。 これで下準備は整ったのでCutterをインストールします。 % cd - % wget http://downloads.sourceforge.net/project/cutter/cutter-1.2.2.tar.gz + % wget http://downloads.sourceforge.net/cutter/cutter-1.2.2.tar.gz % tar xvzf cutter-1.2.2.tar.gz % cd cutter-1.2.2 % ./configure Modified: doc/install-to-others.rd (+2 -2) =================================================================== --- doc/install-to-others.rd 2013-11-05 21:48:02 +0900 (185f18f) +++ doc/install-to-others.rd 2013-11-05 21:56:10 +0900 (a19f1e5) @@ -36,7 +36,7 @@ Cutter uses GNU build tools: % mkdir -p ~/src % cd ~/src - % wget http://downloads.sourceforge.net/project/cutter/cutter-1.2.2.tar.gz + % wget http://downloads.sourceforge.net/cutter/cutter-1.2.2.tar.gz % tar xvzf cutter-1.2.2.tar.gz % cd cutter-1.2.2 % ./configure @@ -49,7 +49,7 @@ into ~/local/: % mkdir -p ~/src % cd ~/src - % wget http://downloads.sourceforge.net/project/cutter/cutter-1.2.2.tar.gz + % wget http://downloads.sourceforge.net/cutter/cutter-1.2.2.tar.gz % tar xvzf cutter-1.2.2.tar.gz % cd cutter-1.2.2 % ./configure PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig LD_LIBRARY_PATH=$HOME/local/lib --prefix=$HOME/local Modified: doc/install-to-others.rd.ja (+2 -2) =================================================================== --- doc/install-to-others.rd.ja 2013-11-05 21:48:02 +0900 (584c55a) +++ doc/install-to-others.rd.ja 2013-11-05 21:56:10 +0900 (bac3cb0) @@ -35,7 +35,7 @@ CutterはGNUビルドツールを利用しているので、他のフリーソ % mkdir -p ~/src % cd ~/src - % wget http://downloads.sourceforge.net/project/cutter/cutter-1.2.2.tar.gz + % wget http://downloads.sourceforge.net/cutter/cutter-1.2.2.tar.gz % tar xvzf cutter-1.2.2.tar.gz % cd cutter-1.2.2 % ./configure @@ -48,7 +48,7 @@ CutterはGNUビルドツールを利用しているので、他のフリーソ % mkdir -p ~/src % cd ~/src - % wget http://downloads.sourceforge.net/project/cutter/cutter-1.2.2.tar.gz + % wget http://downloads.sourceforge.net/cutter/cutter-1.2.2.tar.gz % tar xvzf cutter-1.2.2.tar.gz % cd cutter-1.2.2 % ./configure PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig LD_LIBRARY_PATH=$HOME/local/lib --prefix=$HOME/local Modified: doc/install-to-solaris.rd (+1 -1) =================================================================== --- doc/install-to-solaris.rd 2013-11-05 21:48:02 +0900 (3eaefb5) +++ doc/install-to-solaris.rd 2013-11-05 21:56:10 +0900 (da46aab) @@ -54,7 +54,7 @@ make: % mkdir -p ~/src % cd ~/src - % wget http://downloads.sourceforge.net/project/cutter/cutter-1.2.2.tar.gz + % wget http://downloads.sourceforge.net/cutter/cutter-1.2.2.tar.gz % tar xvzf cutter-1.2.2.tar.gz % cd cutter-1.2.2 % ./configure Modified: doc/install-to-solaris.rd.ja (+1 -1) =================================================================== --- doc/install-to-solaris.rd.ja 2013-11-05 21:48:02 +0900 (628aa3a) +++ doc/install-to-solaris.rd.ja 2013-11-05 21:56:10 +0900 (d745fc0) @@ -98,7 +98,7 @@ install-cutter.sh: gmake pfexec gmake install cd ~/src - wget -N http://downloads.sourceforge.net/project/cutter/cutter-1.2.2.tar.gz + wget -N http://downloads.sourceforge.net/cutter/cutter-1.2.2.tar.gz gtar xf cutter-1.2.2.tar.gz cd cutter-1.2.2 ./configure --prefix=$PREFIX |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:56:30
|
Kouhei Sutou 2013-11-05 21:48:02 +0900 (Tue, 05 Nov 2013) New Revision: 061487cf844d35f6577b6eba807221f3be80f5f2 https://github.com/clear-code/cutter/commit/061487cf844d35f6577b6eba807221f3be80f5f2 Message: Remove garbage spaces Modified files: Makefile.am Modified: Makefile.am (+2 -2) =================================================================== --- Makefile.am 2013-11-05 21:22:26 +0900 (5ae7594) +++ Makefile.am 2013-11-05 21:48:02 +0900 (80d5ca7) @@ -1,6 +1,6 @@ ACLOCAL_AMFLAGS = -I acmacros -I m4macros $$ACLOCAL_OPTIONS -SUBDIRS = \ +SUBDIRS = \ m4macros \ glib-compatible \ gcutter \ @@ -22,7 +22,7 @@ SUBDIRS = \ packages pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = \ +pkgconfig_DATA = \ cutter.pc \ gcutter.pc \ cppcutter.pc \ |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:22:45
|
Kouhei Sutou 2013-11-05 21:22:26 +0900 (Tue, 05 Nov 2013) New Revision: 90c8e9057355c52f3b344df762a473d26af4698f https://github.com/clear-code/cutter/commit/90c8e9057355c52f3b344df762a473d26af4698f Message: Remove trailing spaces Modified files: module/report/cut-xml-report.c Modified: module/report/cut-xml-report.c (+2 -2) =================================================================== --- module/report/cut-xml-report.c 2013-11-05 21:18:56 +0900 (ac85c16) +++ module/report/cut-xml-report.c 2013-11-05 21:22:26 +0900 (d5d1446) @@ -1,7 +1,7 @@ /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Copyright (C) 2008 g新部 Hiroyuki Ikezoe <poi...@ik...> - * Copyright (C) 2009 Kouhei Sutou <ko...@co...> + * Copyright (C) 2009-2013 Kouhei Sutou <ko...@cl...> * * This library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by @@ -405,7 +405,7 @@ attach_to_run_context (CutListener *listener, CutXMLReport *report = CUT_XML_REPORT(listener); if (report->run_context) detach_from_run_context(listener, report->run_context); - + if (run_context) { report->run_context = g_object_ref(run_context); connect_to_run_context(CUT_XML_REPORT(listener), run_context); |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:19:12
|
Kouhei Sutou 2013-11-05 21:18:56 +0900 (Tue, 05 Nov 2013) New Revision: f6b62d5607dd2377275856e8c0ecc63aa66719da https://github.com/clear-code/cutter/commit/f6b62d5607dd2377275856e8c0ecc63aa66719da Message: doc travis: update Groonga page URL on Travis CI Modified files: doc/travis-ci-integration.rd doc/travis-ci-integration.rd.ja Modified: doc/travis-ci-integration.rd (+1 -1) =================================================================== --- doc/travis-ci-integration.rd 2013-11-05 21:18:08 +0900 (3dc23fc) +++ doc/travis-ci-integration.rd 2013-11-05 21:18:56 +0900 (6690079) @@ -66,6 +66,6 @@ Here is free software that use Cutter on Travis CI: * ((<Groonga|URL:http://groonga.org/>)) - * ((<Groonga on Travis CI|URL:http://travis-ci.org/#!/groonga/groonga>)) + * ((<Groonga on Travis CI|URL:http://travis-ci.org/groonga/groonga>)) * ((<.travis.yml for Groonga|URL:https://github.com/groonga/groonga/blob/master/.travis.yml>)) Modified: doc/travis-ci-integration.rd.ja (+1 -1) =================================================================== --- doc/travis-ci-integration.rd.ja 2013-11-05 21:18:08 +0900 (e50a695) +++ doc/travis-ci-integration.rd.ja 2013-11-05 21:18:56 +0900 (ee1cc71) @@ -73,5 +73,5 @@ Travis CI上でCutterを使っているフリーソフトウェアは以下の * ((<Goonga|URL:http://groonga.org/>)) - * ((<Travis CIでのGroongaのビルド結果|URL:http://travis-ci.org/#!/groonga/groonga>)) + * ((<Travis CIでのGroongaのビルド結果|URL:http://travis-ci.org/groonga/groonga>)) * ((<Groonga用の.travis.yml|URL:https://github.com/groonga/groonga/blob/master/.travis.yml>)) |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:18:25
|
Kouhei Sutou 2013-11-05 21:18:08 +0900 (Tue, 05 Nov 2013) New Revision: 873dd85af60b37f687a22f16ad1c999a8cc1da99 https://github.com/clear-code/cutter/commit/873dd85af60b37f687a22f16ad1c999a8cc1da99 Message: doc travis: update Groonga notation Modified files: doc/travis-ci-integration.rd doc/travis-ci-integration.rd.ja Modified: doc/travis-ci-integration.rd (+3 -3) =================================================================== --- doc/travis-ci-integration.rd 2013-11-05 21:17:28 +0900 (053a7af) +++ doc/travis-ci-integration.rd 2013-11-05 21:18:08 +0900 (3dc23fc) @@ -64,8 +64,8 @@ With the above configuration, you can use Cutter for your build. Here is free software that use Cutter on Travis CI: - * ((<groonga|URL:http://groonga.org/>)) + * ((<Groonga|URL:http://groonga.org/>)) - * ((<groonga on Travis CI|URL:http://travis-ci.org/#!/groonga/groonga>)) - * ((<.travis.yml for groonga|URL:https://github.com/groonga/groonga/blob/master/.travis.yml>)) + * ((<Groonga on Travis CI|URL:http://travis-ci.org/#!/groonga/groonga>)) + * ((<.travis.yml for Groonga|URL:https://github.com/groonga/groonga/blob/master/.travis.yml>)) Modified: doc/travis-ci-integration.rd.ja (+3 -3) =================================================================== --- doc/travis-ci-integration.rd.ja 2013-11-05 21:17:28 +0900 (a31bd9c) +++ doc/travis-ci-integration.rd.ja 2013-11-05 21:18:08 +0900 (e50a695) @@ -71,7 +71,7 @@ Project"|URL:http://about.travis-ci.org/docs/user/languages/cpp/>)) Travis CI上でCutterを使っているフリーソフトウェアは以下の通りです。 - * ((<goonga|URL:http://groonga.org/>)) + * ((<Goonga|URL:http://groonga.org/>)) - * ((<Travis CIでのgroongaのビルド結果|URL:http://travis-ci.org/#!/groonga/groonga>)) - * ((<groonga用の.travis.yml|URL:https://github.com/groonga/groonga/blob/master/.travis.yml>)) + * ((<Travis CIでのGroongaのビルド結果|URL:http://travis-ci.org/#!/groonga/groonga>)) + * ((<Groonga用の.travis.yml|URL:https://github.com/groonga/groonga/blob/master/.travis.yml>)) |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:17:45
|
Kouhei Sutou 2013-11-05 21:17:28 +0900 (Tue, 05 Nov 2013) New Revision: d9dc6bd6260e1a0f4efe2404186840887f022ed1 https://github.com/clear-code/cutter/commit/d9dc6bd6260e1a0f4efe2404186840887f022ed1 Message: doc travis: update Ubuntu version on Travis CI Modified files: doc/travis-ci-integration.rd doc/travis-ci-integration.rd.ja Modified: doc/travis-ci-integration.rd (+2 -2) =================================================================== --- doc/travis-ci-integration.rd 2013-11-05 21:12:50 +0900 (f2d67e9) +++ doc/travis-ci-integration.rd 2013-11-05 21:17:28 +0900 (053a7af) @@ -14,9 +14,9 @@ about general Travis CI. == Configuration -Travis CI is running on 32-bit Ubuntu 11.10. (See ((<Travis CI: About +Travis CI is running on 64-bit Ubuntu 12.04. (See ((<Travis CI: About Travis CI Environment|URL:http://about.travis-ci.org/docs/user/ci-environment/>)).) -You can use apt-line for Ubuntu 11.10 provided by Cutter project to install +You can use apt-line for Ubuntu 12.04 provided by Cutter project to install Cutter on Travis CI. You can custom build lifecycle by (({.travis.yml})). (See ((<Travis CI: Modified: doc/travis-ci-integration.rd.ja (+2 -2) =================================================================== --- doc/travis-ci-integration.rd.ja 2013-11-05 21:12:50 +0900 (63e9079) +++ doc/travis-ci-integration.rd.ja 2013-11-05 21:17:28 +0900 (a31bd9c) @@ -16,12 +16,12 @@ Travis CI一般については == 設定 -Travis CIは32-bit版のUbuntu 11.10を使っています。( +Travis CIは64-bit版のUbuntu 12.04を使っています。( ((<"Travis CI: About Travis CI Environment"|URL:http://about.travis-ci.org/docs/user/ci-environment/>)) 参照。) Travis CIにCutterをインストールするために、Cutterプロジェクトが提供している -Ubuntu 11.10用のapt-lineを使えます。 +Ubuntu 12.04用のapt-lineを使えます。 (({.travis.yml})) でビルド方法を変更することができます。( ((<"Travis CI:Conifugration your Travis CI build with |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:13:07
|
Kouhei Sutou 2013-11-05 21:12:50 +0900 (Tue, 05 Nov 2013) New Revision: 27ab6c3493d59a58361038407f3db92796bdebb0 https://github.com/clear-code/cutter/commit/27ab6c3493d59a58361038407f3db92796bdebb0 Message: test: suppress depreated warnings test-cut-pipeline.c: In function 'cut_startup': test-cut-pipeline.c:39:5: warning: implicit declaration of function 'g_mutex_new' [-Wimplicit-function-declaration] fixture_mutex = g_mutex_new(); ^ test-cut-pipeline.c:39:19: warning: assignment makes pointer from integer without a cast [enabled by default] fixture_mutex = g_mutex_new(); ^ test-cut-pipeline.c:40:15: warning: assignment makes pointer from integer without a cast [enabled by default] run_mutex = g_mutex_new(); ^ test-cut-pipeline.c: In function 'cut_shutdown': test-cut-pipeline.c:46:5: warning: implicit declaration of function 'g_mutex_free' [-Wimplicit-function-declaration] g_mutex_free(run_mutex); ^ Modified files: test/cutter/test-cut-pipeline.c Modified: test/cutter/test-cut-pipeline.c (+18 -0) =================================================================== --- test/cutter/test-cut-pipeline.c 2013-11-05 21:10:37 +0900 (951d4c2) +++ test/cutter/test-cut-pipeline.c 2013-11-05 21:12:50 +0900 (4d67e63) @@ -1,4 +1,21 @@ /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * Copyright (C) 2008-2013 Kouhei Sutou <ko...@cl...> + * + * This library is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ #ifdef HAVE_CONFIG_H # include <config.h> @@ -8,6 +25,7 @@ #include <gcutter.h> #include <cutter/cut-pipeline.h> #include <cutter/cut-runner.h> +#include <cutter/cut-glib-compatible.h> #include "../lib/cuttest-assertions.h" |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:11:00
|
Kouhei Sutou 2013-11-05 21:10:37 +0900 (Tue, 05 Nov 2013) New Revision: 21adc88d8b187e77b750bb08954c43b20d40083c https://github.com/clear-code/cutter/commit/21adc88d8b187e77b750bb08954c43b20d40083c Message: test: use g_thread_try_new() Because g_thread_create() was deprecated since GLib 2.32. Modified files: test/fixtures/thread/failure/stub-failure.c Modified: test/fixtures/thread/failure/stub-failure.c (+9 -4) =================================================================== --- test/fixtures/thread/failure/stub-failure.c 2013-11-05 21:04:24 +0900 (0372c5a) +++ test/fixtures/thread/failure/stub-failure.c 2013-11-05 21:10:37 +0900 (c3ea40d) @@ -19,6 +19,11 @@ #include <gcutter.h> +#if !GLIB_CHECK_VERSION(2, 32, 0) +# define g_thread_try_new(name, func, data, error) \ + g_thread_create(func, data, TRUE, error) +#endif + void test_failure (void); static gpointer @@ -44,10 +49,10 @@ test_failure (void) for (i = 0; i < sizeof(threads) / sizeof(*threads); i++) { GError *error = NULL; - threads[i] = g_thread_create(fail, - cut_get_current_test_context(), - TRUE, - &error); + threads[i] = g_thread_try_new(NULL, + fail, + cut_get_current_test_context(), + &error); gcut_assert_error(error); } |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:04:44
|
Kouhei Sutou 2013-11-05 21:04:24 +0900 (Tue, 05 Nov 2013) New Revision: 7c4c131d6754b7418d7f358f2eaa57f815a89a28 https://github.com/clear-code/cutter/commit/7c4c131d6754b7418d7f358f2eaa57f815a89a28 Message: test: untabify Modified files: test/fixtures/thread/failure/stub-failure.c Modified: test/fixtures/thread/failure/stub-failure.c (+2 -2) =================================================================== --- test/fixtures/thread/failure/stub-failure.c 2013-11-05 21:01:18 +0900 (eae5b76) +++ test/fixtures/thread/failure/stub-failure.c 2013-11-05 21:04:24 +0900 (0372c5a) @@ -1,6 +1,6 @@ /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* - * Copyright (C) 2011 Kouhei Sutou <ko...@cl...> + * Copyright (C) 2011-2013 Kouhei Sutou <ko...@cl...> * * This library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by @@ -52,7 +52,7 @@ test_failure (void) } for (i = 0; i < sizeof(threads) / sizeof(*threads); i++) { - g_thread_join(threads[i]); + g_thread_join(threads[i]); } } |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:01:37
|
Kouhei Sutou 2013-11-05 21:01:18 +0900 (Tue, 05 Nov 2013) New Revision: 6b69f7caad4849ec0cdad46e7b20577928c7c32f https://github.com/clear-code/cutter/commit/6b69f7caad4849ec0cdad46e7b20577928c7c32f Message: Specify "foreign" option for Automake in configure.ac Modified files: autogen.sh configure.ac Modified: autogen.sh (+1 -1) =================================================================== --- autogen.sh 2013-11-05 20:50:31 +0900 (db6ae70) +++ autogen.sh 2013-11-05 21:01:18 +0900 (804d4dc) @@ -36,5 +36,5 @@ run ${LIBTOOLIZE:-libtoolize} --copy --force run ${INTLTOOLIZE:-intltoolize} --force --copy #run ${GTKDOCIZE:-gtkdocize} --copy run ${AUTOHEADER:-autoheader} -run ${AUTOMAKE:-automake} --add-missing --foreign --copy +run ${AUTOMAKE:-automake} --add-missing --copy run ${AUTOCONF:-autoconf} Modified: configure.ac (+1 -1) =================================================================== --- configure.ac 2013-11-05 20:50:31 +0900 (dd5f7f6) +++ configure.ac 2013-11-05 21:01:18 +0900 (6451084) @@ -16,7 +16,7 @@ AC_CONFIG_MACRO_DIR([acmacros]) AC_CONFIG_SRCDIR([cutter/cut-main.c]) AM_CONFIG_HEADER([config.h]) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([foreign]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) PACKAGE_TITLE=Cutter |
|
From: Kouhei S. <nul...@cl...> - 2013-11-05 11:50:49
|
Kouhei Sutou 2013-11-05 20:50:31 +0900 (Tue, 05 Nov 2013) New Revision: bd28a41676f1a727e626154101add3100abf0708 https://github.com/clear-code/cutter/commit/bd28a41676f1a727e626154101add3100abf0708 Message: Add a missing space Modified files: configure.ac Modified: configure.ac (+1 -1) =================================================================== --- configure.ac 2013-11-05 16:58:56 +0900 (89d6b9b) +++ configure.ac 2013-11-05 20:50:31 +0900 (dd5f7f6) @@ -17,7 +17,7 @@ AC_CONFIG_SRCDIR([cutter/cut-main.c]) AM_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE -m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) PACKAGE_TITLE=Cutter AC_SUBST(PACKAGE_TITLE) |
|
From: HAYASHI K. <nul...@cl...> - 2013-11-05 08:02:51
|
HAYASHI Kentaro 2013-11-05 16:58:56 +0900 (Tue, 05 Nov 2013) New Revision: b6fa9c04d819cb1a80fb9d8b04b19d1355e3c95e https://github.com/clear-code/cutter/commit/b6fa9c04d819cb1a80fb9d8b04b19d1355e3c95e Message: Support lcov 1.10 which was released at Oct 12, 2012 [cutter-users-ja:92] Reported by shiganaise. Thanks!!! Modified files: m4macros/cutter.m4 Modified: m4macros/cutter.m4 (+1 -1) =================================================================== --- m4macros/cutter.m4 2013-08-05 21:48:43 +0900 (947ba57) +++ m4macros/cutter.m4 2013-11-05 16:58:56 +0900 (6b1324b) @@ -6,7 +6,7 @@ AC_DEFUN([AC_CHECK_ENABLE_COVERAGE], [cutter_enable_coverage=$enableval], [cutter_enable_coverage=no]) if test "x$cutter_enable_coverage" != "xno"; then - ltp_version_list="1.6 1.7 1.8 1.9" + ltp_version_list="1.6 1.7 1.8 1.9 1.10" AC_PATH_TOOL(LCOV, lcov) AC_PATH_TOOL(GENHTML, genhtml) |
|
From: Masafumi Y. <nul...@cl...> - 2013-08-05 12:49:00
|
Masafumi Yokoyama 2013-08-05 21:11:44 +0900 (Mon, 05 Aug 2013) New Revision: 84ecf1f376328aac55bed79c694881de7d69cc2c https://github.com/clear-code/cutter/commit/84ecf1f376328aac55bed79c694881de7d69cc2c Merged b8ae91d: Merge pull request #6 from myokoym/html-remove-a-needless-period Message: html: remove a needless period Modified files: html/index.html Modified: html/index.html (+1 -1) =================================================================== --- html/index.html 2013-07-18 23:52:44 +0900 (4c56fb4) +++ html/index.html 2013-08-05 21:11:44 +0900 (151ff62) @@ -61,7 +61,7 @@ <a href="reference/install-to-centos.html">CentOS</a>, <a href="reference/install-to-freebsd.html">FreeBSD</a>, <a href="reference/install-to-solaris.html">Solaris</a>, - <a href="reference/install-to-mac-os-x.html">Mac OS X</a> and. + <a href="reference/install-to-mac-os-x.html">Mac OS X</a> and <a href="reference/install-to-cygwin.html">Cygwin</a>. Cutter can be installed easily because there are packages for Cutter on some platforms. </p> |