summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Udaltsov <sergey.udaltsov@gmail.com>2013-08-19 01:53:40 +0100
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2013-08-19 02:04:05 +0100
commit87c865aee1844b2cc6b1a5a208116dd095f4d76a (patch)
tree81aa3aced59b26f232c758336819ea9c4982f699 /tests
parentf25fef7f1c444fb7e6bc380297351f873632b2b3 (diff)
Proper handling for sun_type* variants in extras, olpcm and classmate variants
Diffstat (limited to 'tests')
-rwxr-xr-xtests/genLists4Comparizon.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/genLists4Comparizon.sh b/tests/genLists4Comparizon.sh
index 90981a93..5756d3ff 100755
--- a/tests/genLists4Comparizon.sh
+++ b/tests/genLists4Comparizon.sh
@@ -13,7 +13,9 @@ F1b=${F1}base
F1e=${F1}extras
xsltproc $ROOT/xslt/reg2ll.xsl $ROOT/rules/base.xml > $F1b
-xsltproc $ROOT/xslt/reg2ll.xsl $ROOT/rules/base.extras.xml > $F1e
+xsltproc $ROOT/xslt/reg2ll.xsl $ROOT/rules/base.extras.xml | \
+ grep -v "sun_type" > $F1e
+
cat $F1b $F1e | sort | uniq > $F1
rm -f $F1e $F1e
@@ -39,7 +41,7 @@ for i in $ROOT/symbols/*; do
} else
{
name=$2;
- if (variant == "olpc" || variant == "htcdream")
+ if (variant == "olpc" || variant == "htcdream" || variant == "olpcm" || variant == "classmate")
printf "%s:\"%s\"\n", id, name;
else
printf "%s(%s):\"%s\"\n", id, variant, name;