Skip to content

Commit 1f158ea

Browse files
committed
Disable parsing tests for c++ and c#
Signed-off-by: Carlos Martín <[email protected]>
1 parent f7b7912 commit 1f158ea

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

cmdtests/parse_test.go

+17-11
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,14 @@ var testCases = []testCase{
4242
filename: "hello-py3.py",
4343
lang: "python",
4444
},
45-
{
46-
path: filepath.FromSlash("testdata/hello.cpp"),
47-
filename: "hello.cpp",
48-
lang: "c++",
49-
},
45+
// Disabled cpp parsing, see https://github.com/bblfsh/cpp-driver/issues/31
46+
/*
47+
{
48+
path: filepath.FromSlash("testdata/hello.cpp"),
49+
filename: "hello.cpp",
50+
lang: "c++",
51+
},
52+
*/
5053
{
5154
path: filepath.FromSlash("testdata/hello.java"),
5255
filename: "hello.java",
@@ -72,11 +75,14 @@ var testCases = []testCase{
7275
filename: "hello.go",
7376
lang: "go",
7477
},
75-
{
76-
path: filepath.FromSlash("testdata/hello.cs"),
77-
filename: "hello.cs",
78-
lang: "c#",
79-
},
78+
// Disabled csharp parsing, see https://github.com/bblfsh/bblfshd/issues/259
79+
/*
80+
{
81+
path: filepath.FromSlash("testdata/hello.cs"),
82+
filename: "hello.cs",
83+
lang: "c#",
84+
},
85+
*/
8086
{
8187
path: filepath.FromSlash("testdata/hello.php"),
8288
filename: "hello.php",
@@ -177,7 +183,7 @@ func (s *ParseTestSuite) TestUast() {
177183
// ----------------
178184
// TODO Temporary test skip, it fails for cpp, bash, and csharp.
179185
// See https://github.com/src-d/engine/issues/297
180-
if tc.lang == "c++" || tc.lang == "shell" || tc.lang == "c#" {
186+
if tc.lang == "shell" {
181187
// This Error assertion will fail when #297 is fixed, to remind us to remove this skip
182188
require.Error(r.Error)
183189
t.Skip("TEST FAILURE IS A KNOWN ISSUE (#297): " + r.Stdout())

0 commit comments

Comments
 (0)