summaryrefslogtreecommitdiff
path: root/bin/gbuild-to-ide
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gbuild-to-ide')
-rwxr-xr-xbin/gbuild-to-ide10
1 files changed, 1 insertions, 9 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index 3b8439439b7b..451f6b5eb867 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -149,16 +149,8 @@ class GbuildParser:
@staticmethod
def __test_from_json(json):
(foundincludes, foundisystem) = GbuildParser.__split_includes(json['INCLUDE'])
- testname_match = GbuildParser.testpattern.match(os.path.basename(json['MAKEFILE']))
-
- # Workaround strange writer test makefile setup
- if testname_match is None:
- testname = "StrangeWriterMakefiles"
- else:
- testname = testname_match.group(1)
-
return GbuildTest(
- testname,
+ GbuildParser.testpattern.match(os.path.basename(json['MAKEFILE'])).group(1),
os.path.dirname(json['MAKEFILE']),
foundincludes,
foundisystem,