summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-14 23:39:41 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-14 23:39:41 (EDT)
commitcb875c9d24f7b2ea71190da3ec5522371eb149e6 (patch)
treecddf701c38230d9fde0587c34371a4685191e731
parent1e8d84e26b81ad0ec49ae948f669a494929835b7 (diff)
tests/ob_match_arch.sh: Remove
-rw-r--r--tests/local.mk1
-rwxr-xr-xtests/ob_match_arch.sh65
2 files changed, 0 insertions, 66 deletions
diff --git a/tests/local.mk b/tests/local.mk
index 56c7468..a42a502 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -1,5 +1,4 @@
TESTS = \
- %reldir%/ob_match_arch.sh \
%reldir%/ob_parse_dep.sh \
%reldir%/ob_reduce_deps.sh \
%reldir%/ob_arch_is_concerned.sh \
diff --git a/tests/ob_match_arch.sh b/tests/ob_match_arch.sh
deleted file mode 100755
index e81f7ad..0000000
--- a/tests/ob_match_arch.sh
+++ /dev/null
@@ -1,65 +0,0 @@
-# Tests for ob_match_arch()
-#
-# Copyright (C) 2012, 2018 Patrick McDermott
-#
-# This file is part of opkbuild.
-#
-# opkbuild 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.
-#
-# opkbuild 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 opkbuild. If not, see <http://www.gnu.org/licenses/>.
-
-set -e
-
-. "${TOP_SRCDIR}/tests/aux/tap-functions.sh"
-. "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}"
-
-plan_ 8
-
-command_ok_ 'all IN [all]' -- \
- ob_match_arch \
- 'all' \
- 'all'
-
-command_ok_ 'foo-bar-baz IN [any]' -- \
- ob_match_arch \
- 'foo-bar-baz' \
- 'any'
-
-command_ok_ 'foo-bar-baz IN [any all]' -- \
- ob_match_arch \
- 'foo-bar-baz' \
- 'any all'
-
-command_ok_ 'all IN [any all]' -- \
- ob_match_arch \
- 'all' \
- 'any all'
-
-command_ok_ 'foo-bar-baz IN [foo-bar-any]' -- \
- ob_match_arch \
- 'foo-bar-baz' \
- 'foo-bar-any'
-
-command_ok_ 'foo-bar-baz NOT IN [foo-bar-qux]' -- \
- not ob_match_arch \
- 'foo-bar-baz' \
- 'foo-bar-qux'
-
-command_ok_ 'foo-bar-baz IN [any-qux-any any-bar-any]' -- \
- ob_match_arch \
- 'foo-bar-baz' \
- 'any-qux-any any-bar-any'
-
-command_ok_ 'foo-bar-baz NOT IN [any-qux-any any-quux-any]' -- \
- not ob_match_arch \
- 'foo-bar-baz' \
- 'any-qux-any any-quux-any'