mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
122 lines
6.1 KiB
Diff
122 lines
6.1 KiB
Diff
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.
|