• R/O
  • SSH
  • HTTPS

iutest: Commit


Commit MetaInfo

Revision1326 (tree)
Time2018-07-16 00:02:29
Authorsrz_zumix

Log Message

Revert "rm IUTEST_PP_DISALLOW_ASSIGN #62"

This reverts commit 74c186e4cbf7c8381aa77aa4ae3961b60731c58b.

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


add clang-6.0.1 on shippable

git@cfdcb88b0e55dc6c0aa684265c61eddf9f5153e6


fix iuwandbox detect options

git@04c277e0ad3d15cbc7ebe40ea2435db63452872a


rm IUTEST_PP_DISALLOW_ASSIGN #62

git@74c186e4cbf7c8381aa77aa4ae3961b60731c58b


add buddy.yml

git@f7062565a519e7d1abb4bd01260629b112d442d8


Merge remote-tracking branch 'origin/master' into develop

git@62c344526e70b43c8adc084ab610aa6be46a4700


fix bitrise badge url

git@f3a6d95871abd6c6888c923b87f78f2469c82f11

Change Summary

Incremental Difference

--- trunk/buddy.yml (revision 0)
+++ trunk/buddy.yml (revision 1326)
@@ -0,0 +1,172 @@
1+- pipeline: "build-arm-none-eabi"
2+ trigger_mode: "ON_EVERY_PUSH"
3+ ref_name: "(^((?!gh-pages).)*$)"
4+ ref_type: "WILDCARD"
5+ actions:
6+ - action: "Build Docker image"
7+ type: "DOCKERFILE"
8+ login: "srzzumix"
9+ password: "zumix_dockerhub"
10+ docker_image_tag: "latest"
11+ dockerfile_path: ".ci/Dockerfile.arm"
12+ repository: "srzzumix/arm-none-eabi-gcc-with-python"
13+ trigger_condition_paths:
14+ - ".ci/Dockerfile.arm"
15+ trigger_condition: "ON_CHANGE_AT_PATH"
16+ - action: "Execute: arm-none-eabi-gcc --version"
17+ type: "BUILD"
18+ working_directory: "/buddy/iutest"
19+ docker_image_name: "srzzumix/arm-none-eabi-gcc-with-python"
20+ docker_image_tag: "latest"
21+ execute_commands:
22+ - "export PATH=$PATH:/usr/local/bin/gcc-arm-none-eabi-7-2017-q4-major/bin"
23+ - "arm-none-eabi-gcc --version"
24+ - "cd test"
25+ - "make CC=arm-none-eabi-gcc CXX=arm-none-eabi-g++ showcxxversion showcxxmacros DEFS=\"--specs=nosys.specs -mthumb -mcpu=cortex-m3\""
26+ - "make CC=arm-none-eabi-gcc CXX=arm-none-eabi-g++ DEFS=\"--specs=nosys.specs -mthumb -mcpu=cortex-m3\""
27+ mount_filesystem_path: "/buddy/iutest"
28+ shell: "BASH"
29+ trigger_condition: "ALWAYS"
30+- pipeline: "gtest-version"
31+ trigger_mode: "SCHEDULED"
32+ ref_name: "develop"
33+ ref_type: "BRANCH"
34+ start_date: "2018-03-19T03:14:00.000Z"
35+ delay: 10080
36+ run_always: true
37+ actions:
38+ - action: "lastest"
39+ type: "BUILD"
40+ working_directory: "/buddy/iutest"
41+ docker_image_name: "srzzumix/googletest"
42+ docker_image_tag: "latest"
43+ execute_commands:
44+ - "cd test"
45+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01080000 GTEST_EXPECT_LATEST=1 gtest-version"
46+ - "make USE_GTEST=1 USE_GMOCK=1 GTEST_EXPECT_VER=0x01080000 GTEST_EXPECT_LATEST=1 gtest-version"
47+ mount_filesystem_path: "/buddy/iutest"
48+ shell: "SH"
49+ trigger_condition: "ALWAYS"
50+ - action: "release-1.8.0"
51+ type: "BUILD"
52+ working_directory: "/buddy/iutest"
53+ docker_image_name: "srzzumix/googletest"
54+ docker_image_tag: "release-1.8.0"
55+ execute_commands:
56+ - "cd test"
57+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01080000 gtest-version"
58+ - "make USE_GTEST=1 USE_GMOCK=1 GTEST_EXPECT_VER=0x01080000 gtest-version"
59+ mount_filesystem_path: "/buddy/iutest"
60+ shell: "SH"
61+ trigger_condition: "ALWAYS"
62+ - action: "release-1.7.0"
63+ type: "BUILD"
64+ working_directory: "/buddy/iutest"
65+ docker_image_name: "srzzumix/googletest"
66+ docker_image_tag: "release-1.7.0"
67+ execute_commands:
68+ - "cd test"
69+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01070000 gtest-version"
70+ - "make USE_GTEST=1 USE_GMOCK=1 GTEST_EXPECT_VER=0x01070000 gtest-version"
71+ mount_filesystem_path: "/buddy/iutest"
72+ shell: "SH"
73+ trigger_condition: "ALWAYS"
74+ - action: "release-1.6.0"
75+ type: "BUILD"
76+ working_directory: "/buddy/iutest"
77+ docker_image_name: "srzzumix/googletest"
78+ docker_image_tag: "release-1.6.0"
79+ execute_commands:
80+ - "cd test"
81+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01060000 gtest-version"
82+ - "make USE_GTEST=1 USE_GMOCK=1 GTEST_EXPECT_VER=0x01060000 gtest-version"
83+ mount_filesystem_path: "/buddy/iutest"
84+ shell: "SH"
85+ trigger_condition: "ALWAYS"
86+ - action: "release-1.5.0"
87+ type: "BUILD"
88+ working_directory: "/buddy/iutest"
89+ docker_image_name: "srzzumix/googletest"
90+ docker_image_tag: "release-1.5.0"
91+ execute_commands:
92+ - "cd test"
93+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01050000 gtest-version"
94+ - "make USE_GTEST=1 USE_GMOCK=1 GTEST_EXPECT_VER=0x01050000 gtest-version"
95+ mount_filesystem_path: "/buddy/iutest"
96+ shell: "SH"
97+ trigger_condition: "ALWAYS"
98+ - action: "release-1.4.0"
99+ type: "BUILD"
100+ working_directory: "/buddy/iutest"
101+ docker_image_name: "srzzumix/googletest"
102+ docker_image_tag: "release-1.4.0"
103+ execute_commands:
104+ - "cd test"
105+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01040000 gtest-version"
106+ - "make USE_GTEST=1 USE_GMOCK=1 GTEST_EXPECT_VER=0x01040000 gtest-version"
107+ mount_filesystem_path: "/buddy/iutest"
108+ shell: "SH"
109+ trigger_condition: "ALWAYS"
110+ - action: "release-1.3.0"
111+ type: "BUILD"
112+ disabled: true
113+ working_directory: "/buddy/iutest"
114+ docker_image_name: "srzzumix/googletest"
115+ docker_image_tag: "release-1.3.0"
116+ execute_commands:
117+ - "cd test"
118+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01030000 gtest-version"
119+ - "make USE_GTEST=1 USE_GMOCK=1 GTEST_EXPECT_VER=0x01030000 gtest-version"
120+ mount_filesystem_path: "/buddy/iutest"
121+ shell: "BASH"
122+ trigger_condition: "ALWAYS"
123+ - action: "release-1.2.1"
124+ type: "BUILD"
125+ disabled: true
126+ working_directory: "/buddy/iutest"
127+ docker_image_name: "srzzumix/googletest"
128+ docker_image_tag: "release-1.2.1"
129+ execute_commands:
130+ - "cd test"
131+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01020100 gtest-version"
132+ - "make USE_GTEST=1 USE_GMOCK=1 GTEST_EXPECT_VER=0x01020100 gtest-version"
133+ mount_filesystem_path: "/buddy/iutest"
134+ shell: "BASH"
135+ trigger_condition: "ALWAYS"
136+ - action: "release-1.2.0"
137+ type: "BUILD"
138+ disabled: true
139+ working_directory: "/buddy/iutest"
140+ docker_image_name: "srzzumix/googletest"
141+ docker_image_tag: "release-1.2.0"
142+ execute_commands:
143+ - "cd test"
144+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01020000 gtest-version"
145+ - "make USE_GTEST=1 USE_GMOCK=1 GTEST_EXPECT_VER=0x01020000 gtest-version"
146+ mount_filesystem_path: "/buddy/iutest"
147+ shell: "SH"
148+ trigger_condition: "ALWAYS"
149+ - action: "release-1.1.0"
150+ type: "BUILD"
151+ disabled: true
152+ working_directory: "/buddy/iutest"
153+ docker_image_name: "srzzumix/googletest"
154+ docker_image_tag: "release-1.1.0"
155+ execute_commands:
156+ - "cd test"
157+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01010000 gtest-version"
158+ mount_filesystem_path: "/buddy/iutest"
159+ shell: "SH"
160+ trigger_condition: "ALWAYS"
161+ - action: "release-1.0.0"
162+ type: "BUILD"
163+ disabled: true
164+ working_directory: "/buddy/iutest"
165+ docker_image_name: "srzzumix/googletest"
166+ docker_image_tag: "release-1.0.0"
167+ execute_commands:
168+ - "cd test"
169+ - "make USE_GTEST=1 GTEST_EXPECT_VER=0x01000000 gtest-version"
170+ mount_filesystem_path: "/buddy/iutest"
171+ shell: "SH"
172+ trigger_condition: "ALWAYS"
--- trunk/shippable.yml (revision 1325)
+++ trunk/shippable.yml (revision 1326)
@@ -57,6 +57,8 @@
5757 - WANDBOX_COMPILER=gcc-4.5.4
5858 - WANDBOX_COMPILER=gcc-4.4.7
5959 - WANDBOX_COMPILER=clang-head IUWANDBOX_ADD_OPTION=-f"-Wno-c++11-inline-namespace"
60+ - WANDBOX_COMPILER=clang-6.0.1
61+# - WANDBOX_COMPILER=clang-6.0.0
6062 - WANDBOX_COMPILER=clang-5.0.0
6163 - WANDBOX_COMPILER=clang-4.0.1
6264 - WANDBOX_COMPILER=clang-4.0.0
--- trunk/README.md (revision 1325)
+++ trunk/README.md (revision 1326)
@@ -6,7 +6,7 @@
66 [![Shippable Run Status](https://api.shippable.com/projects/541904d2ac22859af743f867/badge?branch=master)](https://app.shippable.com/github/srz-zumix/iutest)
77 [![Semaphore Build Status](https://semaphoreci.com/api/v1/srz_zumix/iutest/branches/master/badge.svg)](https://semaphoreci.com/srz_zumix/iutest)
88 [![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=srz-zumix&repoName=iutest&branch=master&pipelineName=iutest_gtest&accountName=srz-zumix&type=cf-1)](https://g.codefresh.io/repositories/srz-zumix/iutest/builds?filter=trigger:build;branch:master;service:58a933be9d1bd40100495882~iutest_gtest)
9-[![Bitrise Build Status](https://www.bitrise.io/app/a1525fe176d85f53/status.svg?token=C67enKOhen9rjw_Cl37ihA&branch=master)](https://www.bitrise.io/app/a1525fe176d85f53)
9+[![Bitrise Build Status](https://app.bitrise.io/app/a1525fe176d85f53/status.svg?token=C67enKOhen9rjw_Cl37ihA&branch=master)](https://app.bitrise.io/app/a1525fe176d85f53)
1010 [![CircleCI](https://circleci.com/gh/srz-zumix/iutest/tree/master.svg?style=svg)](https://circleci.com/gh/srz-zumix/iutest/tree/master)
1111 [![Scrutinizer Build Status](https://scrutinizer-ci.com/g/srz-zumix/iutest/badges/build.png?b=master)](https://scrutinizer-ci.com/g/srz-zumix/iutest/build-status/master)
1212 [![Cirrus Build Status](https://api.cirrus-ci.com/github/srz-zumix/iutest.svg?branch=master)](https://cirrus-ci.com/github/srz-zumix/iutest/master)
@@ -112,8 +112,8 @@
112112 |Semaphore |[![Semaphore Build Status](https://semaphoreci.com/api/v1/srz_zumix/iutest/branches/master/badge.svg)](https://semaphoreci.com/srz_zumix/iutest)|[![Semaphore Build Status](https://semaphoreci.com/api/v1/srz_zumix/iutest/branches/develop/badge.svg)](https://semaphoreci.com/srz_zumix/iutest)|Scan-build|
113113 |Codefresh |[![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=srz-zumix&repoName=iutest&branch=master&pipelineName=iutest_gtest&accountName=srz-zumix&type=cf-1)]( https://g.codefresh.io/repositories/srz-zumix/iutest/builds?filter=trigger:build;branch:master;service:58a933be9d1bd40100495882~iutest_gtest)|[![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=srz-zumix&repoName=iutest&branch=develop&pipelineName=iutest_gtest&accountName=srz-zumix&type=cf-1)]( https://g.codefresh.io/repositories/srz-zumix/iutest/builds?filter=trigger:build;branch:develop;service:58a933be9d1bd40100495882~iutest_gtest)|Google Test compatibility (HEAD)|
114114 | |[![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=srz-zumix&repoName=iutest&branch=master&pipelineName=iutest_gmock&accountName=srz-zumix&type=cf-1)]( https://g.codefresh.io/repositories/srz-zumix/iutest/builds?filter=trigger:build;branch:master;service:5988fd7df61a9b000176f0a3~iutest_gmock)|[![Codefresh build status]( https://g.codefresh.io/api/badges/build?repoOwner=srz-zumix&repoName=iutest&branch=develop&pipelineName=iutest_gmock&accountName=srz-zumix&type=cf-1)]( https://g.codefresh.io/repositories/srz-zumix/iutest/builds?filter=trigger:build;branch:develop;service:5988fd7df61a9b000176f0a3~iutest_gmock)|Google Mock compatibility (HEAD)|
115-|Bitrise |[![Bitrise Build Status](https://www.bitrise.io/app/a1525fe176d85f53/status.svg?token=C67enKOhen9rjw_Cl37ihA&branch=master)](https://www.bitrise.io/app/a1525fe176d85f53)|[![Bitrise Build Status](https://www.bitrise.io/app/a1525fe176d85f53/status.svg?token=C67enKOhen9rjw_Cl37ihA&branch=develop)](https://www.bitrise.io/app/a1525fe176d85f53)|iOS|
116-| |[![Build Status](https://www.bitrise.io/app/aefa67ee488094b1/status.svg?token=aDrRgkZEmNFmsDjBM9fWTw&branch=master)](https://www.bitrise.io/app/aefa67ee488094b1)|[![Build Status](https://www.bitrise.io/app/aefa67ee488094b1/status.svg?token=aDrRgkZEmNFmsDjBM9fWTw&branch=develop)](https://www.bitrise.io/app/aefa67ee488094b1)|Android|
115+|Bitrise |[![Bitrise Build Status](https://app.bitrise.io/app/a1525fe176d85f53/status.svg?token=C67enKOhen9rjw_Cl37ihA&branch=master)](https://app.bitrise.io/app/a1525fe176d85f53)|[![Bitrise Build Status](https://app.bitrise.io/app/a1525fe176d85f53/status.svg?token=C67enKOhen9rjw_Cl37ihA&branch=develop)](https://app.bitrise.io/app/a1525fe176d85f53)|iOS|
116+| |[![Build Status](https://app.bitrise.io/app/aefa67ee488094b1/status.svg?token=aDrRgkZEmNFmsDjBM9fWTw&branch=master)](https://app.bitrise.io/app/aefa67ee488094b1)|[![Build Status](https://app.bitrise.io/app/aefa67ee488094b1/status.svg?token=aDrRgkZEmNFmsDjBM9fWTw&branch=develop)](https://app.bitrise.io/app/aefa67ee488094b1)|Android|
117117 |CircleCI |[![CircleCI](https://circleci.com/gh/srz-zumix/iutest/tree/master.svg?style=svg)](https://circleci.com/gh/srz-zumix/iutest/tree/master)|[![CircleCI](https://circleci.com/gh/srz-zumix/iutest/tree/develop.svg?style=svg)](https://circleci.com/gh/srz-zumix/iutest/tree/develop)|Optimize options test|
118118 |Cirrus CI |[![Cirrus Build Status](https://api.cirrus-ci.com/github/srz-zumix/iutest.svg?branch=master)](https://cirrus-ci.com/github/srz-zumix/iutest/master)|[![Cirrus Build Status](https://api.cirrus-ci.com/github/srz-zumix/iutest.svg?branch=develop)](https://cirrus-ci.com/github/srz-zumix/iutest/develop)|g++ std=c++14,17...|
119119 |Buddy |[![buddy branch](https://app.buddy.works/zumixcpp/iutest/repository/branch/master/badge.svg?token=5e58135ab4831252209e7b1fe75bfe9de669b0dc7e95ed4316eebad2187d59a0 "buddy branch")](https://app.buddy.works/zumixcpp/iutest/repository/branch/master)|[![buddy branch](https://app.buddy.works/zumixcpp/iutest/repository/branch/develop/badge.svg?token=5e58135ab4831252209e7b1fe75bfe9de669b0dc7e95ed4316eebad2187d59a0 "buddy branch")](https://app.buddy.works/zumixcpp/iutest/repository/branch/develop)|arm-none-eabi-gcc build|
--- trunk/tools/wandbox/iuwandbox.py (revision 1325)
+++ trunk/tools/wandbox/iuwandbox.py (revision 1326)
@@ -41,7 +41,7 @@
4141 '-v',
4242 '--version',
4343 action='version',
44- version=u'%(prog)s version 5.9'
44+ version=u'%(prog)s version 6.0'
4545 )
4646 parser.add_argument(
4747 '--list-compiler',
@@ -415,12 +415,12 @@
415415 if 'switches' in d:
416416 switches = d['switches']
417417 for s in switches:
418- if ('name' in s) and ('display-flags' in s):
419- defs[s['name']] = s['display-flags']
420- elif 'options' in s:
418+ if 'options' in s:
421419 for o in s['options']:
422420 if ('name' in o) and ('display-flags' in o):
423421 defs[o['name']] = o['display-flags']
422+ elif ('name' in s) and ('display-flags' in s):
423+ defs[s['name']] = s['display-flags']
424424 for opt in options:
425425 if opt in defs:
426426 colist.extend(defs[opt].split())
@@ -727,26 +727,30 @@
727727 if 'switches' in d:
728728 switches = d['switches']
729729 for s in switches:
730- if 'name' in s:
730+ if 'options' in s:
731+ default_option = s['default']
732+ print(s['name'])
733+ for o in s['options']:
734+ if o['name'] == default_option:
735+ print(' ' + o['name'] + ' (default)')
736+ else:
737+ print(' ' + o['name'])
738+ elif 'name' in s:
731739 if s['default']:
732740 print(s['name'] + ' (default)')
733741 else:
734742 print(s['name'])
735- elif 'options' in s:
736- print(s['default'] + ' (default)')
737- for o in s['options']:
738- print(' ' + o['name'])
739743
740744
741745 def get_options(compiler):
742746 opt = []
743747 for s in wandbox_get_compilerswitches(compiler):
744- if 'name' in s:
745- opt.append(s['name'])
746- elif 'options' in s:
748+ if 'options' in s:
747749 opt.append(s['default'])
748750 for o in s['options']:
749751 opt.append(o['name'])
752+ elif 'name' in s:
753+ opt.append(s['name'])
750754 return opt
751755
752756
@@ -754,11 +758,11 @@
754758 def get_default_options(compiler):
755759 opt = []
756760 for s in wandbox_get_compilerswitches(compiler):
757- if 'name' in s:
761+ if 'options' in s:
762+ opt.append(s['default'])
763+ elif 'name' in s:
758764 if s['default']:
759765 opt.append(s['name'])
760- elif 'options' in s:
761- opt.append(s['default'])
762766 return opt
763767
764768
--- trunk/tools/wandbox/Makefile (revision 1325)
+++ trunk/tools/wandbox/Makefile (revision 1326)
@@ -72,6 +72,13 @@
7272 python iuwandbox.py --list-options $(WANDBOX_COMPILER)
7373
7474 #
75+# raw api
76+#
77+get-list-json:
78+ mkdir -p tmp
79+ curl https://wandbox.org/api/list.json > tmp/list.json
80+
81+#
7582 # iutest test
7683 #
7784
Show on old repository browser