From d1862a56e98df84c8404fc4511f50a87e9fc5196 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 5 Dec 2020 10:29:03 +0200 Subject: [PATCH] remove obsolete test --- tests/test_extract_project_name.py | 40 ------------------------------ 1 file changed, 40 deletions(-) delete mode 100755 tests/test_extract_project_name.py diff --git a/tests/test_extract_project_name.py b/tests/test_extract_project_name.py deleted file mode 100755 index 03888cb5..00000000 --- a/tests/test_extract_project_name.py +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env python3 - -# -# Helper module to build macOS version of various source ports -# Copyright (C) 2020 Alexey Lysiuk -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# - -import os -import sys - -sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '..') -sys.dont_write_bytecode = True - -from build import Builder # pylint: disable=import-error - -test_lines = ( - 'project(GZDoom)', - 'project("PrBoom-Plus" VERSION 2.5.1.7)', - 'project("Chocolate Doom" VERSION 3.0.0 LANGUAGES C)', - 'PROJECT(doomretro C)', - 'project(DevilutionX', -) - -for line in test_lines: - project_name = Builder.extract_project_name(line) - assert project_name - print(project_name)