• R/O
  • SSH
  • HTTPS

iutest: コミット


コミットメタ情報

リビジョン1370 (tree)
日時2019-03-04 22:21:13
作者srz_zumix

ログメッセージ

Merge remote-tracking branch 'origin/develop'

git@a9a7a1d08afccfe8b04cdfc0a01f758726c8ac19
https://github.com/srz-zumix/iutest/commit/a9a7a1d08afccfe8b04cdfc0a01f758726c8ac19


Merge remote-tracking branch 'origin/develop'

git@1216a16a9f1db8259e95b17a8d8728470f400667


update doxygen documents

git@3b9f9f3666e8d496e5bcd2e70d3ecc9871a4bbee


add comment

git@66e7964e15688cfe7f5f5b7ed8ee7b4f86eedfd2


update IWYU GitHub Action

git@7e93306a6b2aaba16700aebd3a4d678d3bbf8277


[CMake] add no build namespace test option

git@abe3b2fc66f2d3b102debf4cb76345f7d68f930e


add CMakeLists.txt editorconfig rule

git@9b04b78568059c9c3d0741ecb647d3ee6156fc99


fix Dockerfile

git@ff10f6b2ae5e813526a1fd12f4408035b2fe36ae


IWYU paragma export #190

git@6938a2f365ab0f257b4494132c10f7b907bc833a


fix hadolint

git@108c8e889b5936f52af2dd89ed4762ea69a31171


Add include what you use (#189)

* Update main.workflow

git@6501fe3655157c1483f621251ee4b9212c30a820


add include what you use GitHub Action

git@9fae3c2080d4f4773b4f05b62d8a8d3296258a1f

変更サマリ

差分

--- trunk/docs/Makefile (revision 1369)
+++ trunk/docs/Makefile (revision 1370)
@@ -10,7 +10,9 @@
1010 upgrade:
1111 doxygen -u
1212
13-target: Doxyfile
13+target: html/index.html
14+
15+html/index.html: Doxyfile
1416 doxygen Doxyfile
1517 # doxyindexer searchdata.xml -o html/
1618 # cp '$(DOXYGEN_ROOT)/bin/doxysearch.cgi' html/
@@ -31,3 +33,10 @@
3133
3234 lint:
3335 (find ./ -maxdepth 1 -type f -name "*.html" -print0 | xargs -0 perl $(HTMLLINT_PATH)/htmllint)
36+
37+open: target
38+ifeq ($(OS),Windows_NT)
39+ cmd /c start html/index.html
40+else
41+ open html/index.html
42+endif
--- trunk/docs/doxygen_filter.py (revision 1369)
+++ trunk/docs/doxygen_filter.py (revision 1370)
@@ -3,7 +3,7 @@
33 #
44 # doxygen_filter.py
55 #
6-# Copyright (C) 2015-2016, Takazumi Shirayanagi
6+# Copyright (C) 2015-2019, Takazumi Shirayanagi
77 # This software is released under the new BSD License,
88 # see LICENSE
99 #
@@ -10,11 +10,10 @@
1010
1111 import sys
1212 import os
13+import codecs
1314
14-
15-def main():
16- path = sys.argv[1]
17- f = open(path)
15+def filter(path, encoding):
16+ f = codecs.open(path, 'r', encoding)
1817 n = 0
1918 fname = os.path.basename(path)
2019 if fname == "iutest_config.hpp":
@@ -30,5 +29,13 @@
3029 f.close()
3130
3231
32+def main():
33+ path = sys.argv[1]
34+ try:
35+ filter(path, 'utf-8-sig')
36+ except UnicodeDecodeError:
37+ filter(path, 'utf-8')
38+
39+
3340 if __name__ == '__main__':
3441 main()
--- trunk/include/iutest.hpp (revision 1369)
+++ trunk/include/iutest.hpp (revision 1370)
@@ -6,7 +6,7 @@
66 *
77 * @author t.shirayanagi
88 * @par copyright
9- * Copyright (C) 2011-2018, Takazumi Shirayanagi\n
9+ * Copyright (C) 2011-2019, Takazumi Shirayanagi\n
1010 * This software is released under the new BSD License,
1111 * see LICENSE
1212 *
@@ -19,6 +19,7 @@
1919
2020 //======================================================================
2121 // include
22+// IWYU pragma: begin_exports
2223 #include "iutest_ver.hpp"
2324 #include "iutest_core.hpp"
2425 #include "iutest_param_tests.hpp"
@@ -35,8 +36,8 @@
3536 #if defined(__AFX_H__)
3637 #include "internal/iutest_mfc.hpp"
3738 #endif
39+// IWYU pragma: end_exports
3840
39-
4041 //======================================================================
4142 // define
4243 /**
--- trunk/projects/cmake/CMakeLists.txt (revision 1369)
+++ trunk/projects/cmake/CMakeLists.txt (revision 1370)
@@ -9,6 +9,7 @@
99 option(build_gtest_samples "gtest sample build." OFF)
1010 option(build_use_gtest_configuration "use gtest build configuration." ON)
1111 option(build_tests "tests build." ON)
12+option(build_namespace_tests "enable namespace test build." ON)
1213
1314 # Defines pre_project_set_up_hermetic_build() and set_up_hermetic_build().
1415 include(cmake/hermetic_build.cmake OPTIONAL)
@@ -202,32 +203,34 @@
202203 cxx_executable_test(tr1_tests)
203204 cxx_executable_test(uninitialize_tests)
204205 cxx_executable_test(util_tests)
205- cxx_namespace_test(namespace_tests
206- assertion_tests.cpp
207- basic_tests.cpp
208- combine_tests.cpp
209- compatibility_tests.cpp
210- filepath_tests.cpp
211- fixture_tests.cpp
212- floatingpoint_tests.cpp
213- no_failure_tests.cpp
214- nullptr_tests.cpp
215- param_test_tests1.cpp
216- param_test_tests2.cpp
217- pred_tests.cpp
218- prod_tests1.cpp
219- prod_tests2.cpp
220- spi_tests.cpp
221- static_assertion_tests.cpp
222- string_assertion_tests.cpp
223- syntax_tests.cpp
224- syntax_gtest_tests.cpp
225- type_param_tests1.cpp
226- type_param_tests2.cpp
227- type_param_tests3.cpp
228- typed_test_tests.cpp
229- values_tests.cpp
230- )
206+ if (build_namespace_tests)
207+ cxx_namespace_test(namespace_tests
208+ assertion_tests.cpp
209+ basic_tests.cpp
210+ combine_tests.cpp
211+ compatibility_tests.cpp
212+ filepath_tests.cpp
213+ fixture_tests.cpp
214+ floatingpoint_tests.cpp
215+ no_failure_tests.cpp
216+ nullptr_tests.cpp
217+ param_test_tests1.cpp
218+ param_test_tests2.cpp
219+ pred_tests.cpp
220+ prod_tests1.cpp
221+ prod_tests2.cpp
222+ spi_tests.cpp
223+ static_assertion_tests.cpp
224+ string_assertion_tests.cpp
225+ syntax_tests.cpp
226+ syntax_gtest_tests.cpp
227+ type_param_tests1.cpp
228+ type_param_tests2.cpp
229+ type_param_tests3.cpp
230+ typed_test_tests.cpp
231+ values_tests.cpp
232+ )
233+ endif()
231234 # iutest only
232235 cxx_executable_test(default_main_tests)
233236 cxx_executable_test(default_printer_listener_tests)
@@ -310,7 +313,9 @@
310313 cxx_add_test(tr1_tests)
311314 cxx_add_test(uninitialize_tests)
312315 cxx_add_test(util_tests)
313- cxx_add_test(namespace_tests)
316+ if (build_namespace_tests)
317+ cxx_add_test(namespace_tests)
318+ endif()
314319 # iutest only
315320 cxx_add_test(default_main_tests)
316321 cxx_add_test(default_printer_listener_tests)
旧リポジトリブラウザで表示