aboutsummaryrefslogtreecommitdiffstats
path: root/community/cloc/disable-submodule-tests.patch
blob: 62156da8edaafbac6727e0b162e34a5f591cb14f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
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.