summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2023-06-29 08:57:45 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2023-07-06 09:11:50 +1000
commit2acc0302fb259cfbeefd091b66d0c269aedd772f (patch)
treea34aafc491e9dfb6cbe612cd719da09c8494e83d
parentf7e5a8c0ec9801554fec74ac8fc575523e3f6779 (diff)
tests: remove the shortDescriptions test
This test is obsolete - has been broken ever since commit 2fe6ff02d093 "Improve descriptions (us set)" changed the codes from three-letter ISO3166 to a mix of two-letter and three-letter codes. See https://bugs.freedesktop.org/show_bug.cgi?id=35653. We started integrating the actual ISO 3166 and 639 codes as separate items in the XML, so just testing the shortDescription is now wrong. This is properly tested since d92310acd "test: add a test case for ISO codes" as part of our pytest suite. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rwxr-xr-xtests/testShortDescriptions6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/testShortDescriptions b/tests/testShortDescriptions
deleted file mode 100755
index 886b5ab0..00000000
--- a/tests/testShortDescriptions
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-awk '/shortDescr/{print toupper($0)}' ../rules/base.xml.in | sed 's/<[^>]*>//g;s/ //g' | sort | uniq > xml.sd
-awk '{print $1}' ../docs/iso3166-3.csv | sort > iso.sd
-diff -u iso.sd xml.sd | grep '+'
-