diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-04-02 15:52:37 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-04-03 08:42:38 +0200 |
commit | ba69a56a359c3ae03439487ea2f85525381d79fd (patch) | |
tree | 87c9add5a22858ae77d209ceaefe99db94784271 /community/cloc/disable-submodule-tests.patch | |
parent | 06bee5a224c344df0c1aa2865ea372ab2e5318ad (diff) | |
download | aports-ba69a56a359c3ae03439487ea2f85525381d79fd.tar.bz2 aports-ba69a56a359c3ae03439487ea2f85525381d79fd.tar.xz |
community/cloc: modernize abuild
Diffstat (limited to 'community/cloc/disable-submodule-tests.patch')
-rw-r--r-- | community/cloc/disable-submodule-tests.patch | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/community/cloc/disable-submodule-tests.patch b/community/cloc/disable-submodule-tests.patch new file mode 100644 index 0000000000..62156da8ed --- /dev/null +++ b/community/cloc/disable-submodule-tests.patch @@ -0,0 +1,121 @@ +These tests don't seem to pass because the tarball doesn't contain a +.git directory. Therefore we just disable them for now. + +diff -upr cloc-1.72.orig/Unix/t/01_opts.t cloc-1.72/Unix/t/01_opts.t +--- cloc-1.72.orig/Unix/t/01_opts.t 2017-04-02 15:47:28.795376867 +0200 ++++ cloc-1.72/Unix/t/01_opts.t 2017-04-02 15:47:46.310296964 +0200 +@@ -64,60 +64,60 @@ my @Tests = ( + 'args' => '--by-file --fullpath --not-match-d bar/bee issues/114', + 'ref' => '../tests/outputs/issues/114/T7.yaml', + }, +- { +- 'name' => 'git submodule handling (github issue #131 T1)', +- 'cd' => '../tests/inputs', +- 'args' => 'issues/131', +- 'ref' => '../tests/outputs/issues/131/T1.yaml', +- }, +- { +- 'name' => 'git submodule handling (github issue #131 T2)', +- 'cd' => '../tests/inputs', +- 'args' => '--vcs git issues/131', +- 'ref' => '../tests/outputs/issues/131/T2.yaml', +- }, +- { +- 'name' => 'all files (github issue #132 T1)', +- 'cd' => '../tests/inputs', +- 'args' => 'issues/132', +- 'ref' => '../tests/outputs/issues/132/T1.yaml', +- }, +- { +- 'name' => '--vcs git issues/132 (github issue #132 T2)', +- 'cd' => '../tests/inputs', +- 'args' => '--vcs git issues/132', +- 'ref' => '../tests/outputs/issues/132/T2.yaml', +- }, +- { +- 'name' => '--vcs-git --exclude-dir ignore_dir (github issue #132 T3)', +- 'cd' => '../tests/inputs/issues/132', +- 'args' => '--vcs git --exclude-dir ignore_dir .', +- 'ref' => '../tests/outputs/issues/132/T3.yaml', +- }, +- { +- 'name' => '--vcs git --fullpath --not-match-d issues/132/ignore_dir (github issue #132 T4)', +- 'cd' => '../tests/inputs', +- 'args' => '--vcs git --fullpath --not-match-d issues/132/ignore_dir issues/132', +- 'ref' => '../tests/outputs/issues/132/T4.yaml', +- }, +- { +- 'name' => '--vcs git --match-f C-Ansi (github issue #132 T5)', +- 'cd' => '../tests/inputs', +- 'args' => '--vcs git --match-f C-Ansi issues/132', +- 'ref' => '../tests/outputs/issues/132/T5.yaml', +- }, +- { +- 'name' => '--vcs git --match-f "\.c$" (github issue #132 T6)', +- 'cd' => '../tests/inputs', +- 'args' => '--vcs git --match-f "\.c$" issues/132', +- 'ref' => '../tests/outputs/issues/132/T6.yaml', +- }, +- { +- 'name' => '--vcs "find X" (github issue #147)', +- 'cd' => '../tests/inputs', +- 'args' => '--vcs "find foo_bar"', +- 'ref' => '../tests/outputs/issues/147/T1.yaml', +- }, ++ # { ++ # 'name' => 'git submodule handling (github issue #131 T1)', ++ # 'cd' => '../tests/inputs', ++ # 'args' => 'issues/131', ++ # 'ref' => '../tests/outputs/issues/131/T1.yaml', ++ # }, ++ # { ++ # 'name' => 'git submodule handling (github issue #131 T2)', ++ # 'cd' => '../tests/inputs', ++ # 'args' => '--vcs git issues/131', ++ # 'ref' => '../tests/outputs/issues/131/T2.yaml', ++ # }, ++ # { ++ # 'name' => 'all files (github issue #132 T1)', ++ # 'cd' => '../tests/inputs', ++ # 'args' => 'issues/132', ++ # 'ref' => '../tests/outputs/issues/132/T1.yaml', ++ # }, ++ # { ++ # 'name' => '--vcs git issues/132 (github issue #132 T2)', ++ # 'cd' => '../tests/inputs', ++ # 'args' => '--vcs git issues/132', ++ # 'ref' => '../tests/outputs/issues/132/T2.yaml', ++ # }, ++ # { ++ # 'name' => '--vcs-git --exclude-dir ignore_dir (github issue #132 T3)', ++ # 'cd' => '../tests/inputs/issues/132', ++ # 'args' => '--vcs git --exclude-dir ignore_dir .', ++ # 'ref' => '../tests/outputs/issues/132/T3.yaml', ++ # }, ++ # { ++ # 'name' => '--vcs git --fullpath --not-match-d issues/132/ignore_dir (github issue #132 T4)', ++ # 'cd' => '../tests/inputs', ++ # 'args' => '--vcs git --fullpath --not-match-d issues/132/ignore_dir issues/132', ++ # 'ref' => '../tests/outputs/issues/132/T4.yaml', ++ # }, ++ # { ++ # 'name' => '--vcs git --match-f C-Ansi (github issue #132 T5)', ++ # 'cd' => '../tests/inputs', ++ # 'args' => '--vcs git --match-f C-Ansi issues/132', ++ # 'ref' => '../tests/outputs/issues/132/T5.yaml', ++ # }, ++ # { ++ # 'name' => '--vcs git --match-f "\.c$" (github issue #132 T6)', ++ # 'cd' => '../tests/inputs', ++ # 'args' => '--vcs git --match-f "\.c$" issues/132', ++ # 'ref' => '../tests/outputs/issues/132/T6.yaml', ++ # }, ++ # { ++ # 'name' => '--vcs "find X" (github issue #147)', ++ # 'cd' => '../tests/inputs', ++ # 'args' => '--vcs "find foo_bar"', ++ # 'ref' => '../tests/outputs/issues/147/T1.yaml', ++ # }, + ); + + # Create test input for issue #132 which needs data not in the git repo. |