Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7,608 changed files
with
248,959 additions
and
315,762 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,117 @@ | ||
| --- | ||
| Language: Cpp | ||
| AccessModifierOffset: -2 | ||
| AlignAfterOpenBracket: Align | ||
| AlignConsecutiveAssignments: false | ||
| AlignConsecutiveDeclarations: false | ||
| AlignEscapedNewlines: Right | ||
| AlignOperands: true | ||
| AlignTrailingComments: true | ||
| AllowAllArgumentsOnNextLine: true | ||
| AllowAllConstructorInitializersOnNextLine: true | ||
| AllowAllParametersOfDeclarationOnNextLine: true | ||
| AllowShortBlocksOnASingleLine: false | ||
| AllowShortCaseLabelsOnASingleLine: false | ||
| AllowShortFunctionsOnASingleLine: All | ||
| AllowShortLambdasOnASingleLine: All | ||
| AllowShortIfStatementsOnASingleLine: Never | ||
| AllowShortLoopsOnASingleLine: false | ||
| AlwaysBreakAfterDefinitionReturnType: None | ||
| AlwaysBreakAfterReturnType: None | ||
| AlwaysBreakBeforeMultilineStrings: false | ||
| AlwaysBreakTemplateDeclarations: MultiLine | ||
| BinPackArguments: true | ||
| BinPackParameters: true | ||
| BraceWrapping: | ||
| AfterCaseLabel: true | ||
| AfterClass: true | ||
| AfterControlStatement: true | ||
| AfterEnum: true | ||
| AfterFunction: true | ||
| AfterNamespace: true | ||
| AfterStruct: true | ||
| AfterUnion: true | ||
| AfterExternBlock: true | ||
| BeforeCatch: true | ||
| BeforeElse: true | ||
| IndentBraces: false | ||
| SplitEmptyFunction: true | ||
| SplitEmptyRecord: true | ||
| SplitEmptyNamespace: true | ||
| BreakBeforeBinaryOperators: None | ||
| BreakBeforeBraces: Custom | ||
| BreakBeforeInheritanceComma: false | ||
| BreakInheritanceList: BeforeColon | ||
| BreakBeforeTernaryOperators: true | ||
| BreakConstructorInitializersBeforeComma: false | ||
| BreakConstructorInitializers: BeforeColon | ||
| BreakStringLiterals: true | ||
| ColumnLimit: 79 | ||
| CommentPragmas: '^ IWYU pragma:' | ||
| CompactNamespaces: false | ||
| ConstructorInitializerAllOnOneLineOrOnePerLine: false | ||
| ConstructorInitializerIndentWidth: 4 | ||
| ContinuationIndentWidth: 4 | ||
| Cpp11BracedListStyle: true | ||
| DerivePointerAlignment: false | ||
| DisableFormat: false | ||
| ExperimentalAutoDetectBinPacking: false | ||
| FixNamespaceComments: true | ||
| ForEachMacros: | ||
| - foreach | ||
| - Q_FOREACH | ||
| - BOOST_FOREACH | ||
| IncludeBlocks: Preserve | ||
| IncludeCategories: | ||
| - Regex: '^"(llvm|llvm-c|clang|clang-c)/' | ||
| Priority: 2 | ||
| - Regex: '^(<|"(gtest|gmock|isl|json)/)' | ||
| Priority: 3 | ||
| - Regex: '.*' | ||
| Priority: 1 | ||
| IncludeIsMainRegex: '(Test)?$' | ||
| IndentCaseLabels: false | ||
| IndentPPDirectives: None | ||
| IndentWidth: 2 | ||
| IndentWrappedFunctionNames: false | ||
| KeepEmptyLinesAtTheStartOfBlocks: true | ||
| Language: Cpp | ||
| MacroBlockBegin: '' | ||
| MacroBlockEnd: '' | ||
| MaxEmptyLinesToKeep: 1 | ||
| NamespaceIndentation: None | ||
| PenaltyBreakAssignment: 2 | ||
| PenaltyBreakBeforeFirstCallParameter: 19 | ||
| PenaltyBreakComment: 300 | ||
| PenaltyBreakFirstLessLess: 120 | ||
| PenaltyBreakString: 1000 | ||
| PenaltyBreakTemplateDeclaration: 10 | ||
| PenaltyExcessCharacter: 1000000 | ||
| PenaltyReturnTypeOnItsOwnLine: 60 | ||
| PointerAlignment: Right | ||
| ReflowComments: true | ||
| SortIncludes: true | ||
| SortUsingDeclarations: true | ||
| SpaceAfterCStyleCast: true | ||
| SpaceAfterLogicalNot: false | ||
| SpaceAfterTemplateKeyword: true | ||
| SpaceBeforeAssignmentOperators: false | ||
| SpaceBeforeCpp11BracedList: false | ||
| SpaceBeforeCtorInitializerColon: true | ||
| SpaceBeforeInheritanceColon: true | ||
| SpaceBeforeParens: ControlStatements | ||
| SpaceBeforeRangeBasedForLoopColon: true | ||
| SpaceInEmptyParentheses: false | ||
| SpacesBeforeTrailingComments: 1 | ||
| SpacesInAngles: false | ||
| SpacesInContainerLiterals: true | ||
| SpacesInCStyleCastParentheses: false | ||
| SpacesInParentheses: false | ||
| SpacesInSquareBrackets: false | ||
| Standard: Cpp11 | ||
| StatementMacros: | ||
| - Q_UNUSED | ||
| - QT_REQUIRE_VERSION | ||
| TabWidth: 8 | ||
| UseTab: Never | ||
| ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -25,6 +25,7 @@ pcre/testdata/greppatN4 -text | ||
| *.MYD binary | ||
| *.MYI binary | ||
| *.class binary | ||
| *.jar binary | ||
|
|
||
| *.c diff=cpp | ||
| *.h diff=cpp | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,49 +1,51 @@ | ||
| #!/bin/sh | ||
| set -v -x | ||
|
|
||
| # Exclude modules from build not directly affecting the current | ||
| # test suites found in $MYSQL_TEST_SUITES, to conserve job time | ||
| # as well as disk usage | ||
|
|
||
| function exclude_modules() { | ||
| # excludes for all | ||
| CMAKE_OPT="${CMAKE_OPT} -DPLUGIN_TOKUDB=NO -DPLUGIN_MROONGA=NO -DPLUGIN_SPIDER=NO -DPLUGIN_OQGRAPH=NO -DPLUGIN_PERFSCHEMA=NO -DPLUGIN_SPHINX=NO" | ||
| # exclude storage engines not being tested in current job | ||
| if [[ ! "${MYSQL_TEST_SUITES}" =~ "archive" ]]; then | ||
| CMAKE_OPT="${CMAKE_OPT} -DPLUGIN_ARCHIVE=NO" | ||
| fi | ||
| if [[ ! "${MYSQL_TEST_SUITES}" =~ "rocksdb" ]]; then | ||
| CMAKE_OPT="${CMAKE_OPT} -DPLUGIN_ROCKSDB=NO" | ||
| fi | ||
| } | ||
|
|
||
| if [[ "${TRAVIS_OS_NAME}" == 'linux' ]]; then | ||
| TEST_CASE_TIMEOUT=2 | ||
| exclude_modules; | ||
| if which ccache ; then | ||
| CMAKE_OPT="${CMAKE_OPT} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" | ||
| ccache --max-size=2200M | ||
| fi | ||
| if [[ "${CXX}" == 'clang++' ]]; then | ||
| CMAKE_OPT="-DWITHOUT_TOKUDB_STORAGE_ENGINE=ON -DWITHOUT_MROONGA_STORAGE_ENGINE=ON" | ||
| #CMAKE_OPT="${CMAKE_OPT} -DWITH_ASAN=ON" | ||
| if which ccache ; then | ||
| CMAKE_OPT="${CMAKE_OPT} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" | ||
| fi | ||
| case ${GCC_VERSION} in | ||
| 5) CXX=clang++-4.0 ;; | ||
| 6) CXX=clang++-5.0 ;; | ||
| esac | ||
| export CXX CC=${CXX/++/} | ||
| elif [[ "${CXX}" == 'g++' ]]; then | ||
| CMAKE_OPT="" | ||
| if [[ "${MYSQL_TEST_SUITES}" == 'rpl' ]]; then | ||
| CMAKE_OPT="${CMAKE_OPT} -DWITHOUT_TOKUDB_STORAGE_ENGINE=TRUE" | ||
| CMAKE_OPT="${CMAKE_OPT} -DWITHOUT_MROONGA_STORAGE_ENGINE=TRUE" | ||
| fi | ||
| export CXX=g++-${GCC_VERSION} | ||
| export CC=gcc-${GCC_VERSION} | ||
| export CXX=g++-${CC_VERSION} | ||
| export CC=gcc-${CC_VERSION} | ||
| fi | ||
| if [[ ${GCC_VERSION} == 6 ]]; then | ||
| wget http://mirrors.kernel.org/ubuntu/pool/universe/p/percona-xtradb-cluster-galera-2.x/percona-xtradb-cluster-galera-2.x_165-0ubuntu1_amd64.deb ; | ||
| ar vx percona-xtradb-cluster-galera-2.x_165-0ubuntu1_amd64.deb | ||
| tar -xJvf data.tar.xz | ||
| export WSREP_PROVIDER=$PWD/usr/lib/libgalera_smm.so | ||
| MYSQL_TEST_SUITES="${MYSQL_TEST_SUITES},wsrep" | ||
| #elif [[ ${GCC_VERSION} != 5 ]]; then | ||
| #CMAKE_OPT="${CMAKE_OPT} -DWITH_ASAN=ON" | ||
| if [[ ${CC_VERSION} == 6 ]]; then | ||
| wget http://mirrors.kernel.org/ubuntu/pool/universe/p/percona-xtradb-cluster-galera-2.x/percona-xtradb-cluster-galera-2.x_165-0ubuntu1_amd64.deb ; | ||
| ar vx percona-xtradb-cluster-galera-2.x_165-0ubuntu1_amd64.deb | ||
| tar -xJvf data.tar.xz | ||
| export WSREP_PROVIDER=$PWD/usr/lib/libgalera_smm.so | ||
| MYSQL_TEST_SUITES="${MYSQL_TEST_SUITES},wsrep" | ||
| fi | ||
| else | ||
| # osx_image based tests | ||
| CMAKE_OPT="-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl" | ||
| #CMAKE_OPT="${CMAKE_OPT} -DWITH_ASAN=ON" | ||
| fi | ||
|
|
||
| if [[ "${TRAVIS_OS_NAME}" == 'osx' ]]; then | ||
| TEST_CASE_TIMEOUT=20 | ||
| exclude_modules; | ||
| CMAKE_OPT="${CMAKE_OPT} -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl" | ||
| if which ccache ; then | ||
| CMAKE_OPT="${CMAKE_OPT} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" | ||
| fi | ||
| if [[ "${MYSQL_TEST_SUITES}" == 'rpl' ]]; then | ||
| CMAKE_OPT="${CMAKE_OPT} -DWITHOUT_TOKUDB_STORAGE_ENGINE=ON" | ||
| fi | ||
| CMAKE_OPT="${CMAKE_OPT} -DWITHOUT_MROONGA_STORAGE_ENGINE=ON" | ||
| if [[ "${TYPE}" == "Debug" ]]; then | ||
| CMAKE_OPT="${CMAKE_OPT} -DWITHOUT_TOKUDB_STORAGE_ENGINE=ON" | ||
| fi | ||
| fi | ||
|
|
||
| set +v +x |
Oops, something went wrong.