diff options
author | Sergey V. Udaltsov <svu@gnome.org> | 2011-04-17 11:29:35 +0100 |
---|---|---|
committer | Sergey V. Udaltsov <svu@gnome.org> | 2011-04-17 11:29:35 +0100 |
commit | 3193b434c469ccfedbdd1b4fb12d550b24c4a858 (patch) | |
tree | cd4378b35debd419f4fbb535b0bb5e0bb0b05ac6 /tests | |
parent | 0f0b531787de7253c4fc635bbff5a97b205e7cdf (diff) |
Slightly improved algorighm
Consider olpc/htcdream models, use extras
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/genLists4Comparizon.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/genLists4Comparizon.sh b/tests/genLists4Comparizon.sh index cbf2eef..90981a9 100755 --- a/tests/genLists4Comparizon.sh +++ b/tests/genLists4Comparizon.sh @@ -9,8 +9,13 @@ ROOT="`dirname $0`/.." F1=reg2ll.lst F2=gn2ll.lst +F1b=${F1}base +F1e=${F1}extras -xsltproc $ROOT/xslt/reg2ll.xsl $ROOT/rules/base.xml | sort | uniq > $F1 +xsltproc $ROOT/xslt/reg2ll.xsl $ROOT/rules/base.xml > $F1b +xsltproc $ROOT/xslt/reg2ll.xsl $ROOT/rules/base.extras.xml > $F1e +cat $F1b $F1e | sort | uniq > $F1 +rm -f $F1e $F1e for i in $ROOT/symbols/*; do if [ -f $i ]; then @@ -34,7 +39,10 @@ for i in $ROOT/symbols/*; do } else { name=$2; - printf "%s(%s):\"%s\"\n", id, variant, name; + if (variant == "olpc" || variant == "htcdream") + printf "%s:\"%s\"\n", id, name; + else + printf "%s(%s):\"%s\"\n", id, variant, name; } }' $i fi |