Hash :
ed5c6c17
Author :
Date :
2012-03-09T16:26:34
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#!/bin/sh
srcdir=${srcdir-.}
builddir=${builddir-.}
name=namescomp
prog="$builddir/$name$EXEEXT"
log="$builddir/$name.log"
compile()
{
echo "$prog '$1' '$2' '$3' '$4'" >>"$log"
$prog "$1" "$2" "$3" "$4" >>"$log" 2>&1 || exit $?
}
failcompile()
{
echo "$prog '$1' '$2' '$3' '$4'" >>"$log"
if $prog "$1" "$2" "$3" "$4" >>"$log" 2>&1; then
exit 1
fi
}
rm -f "$log"
compile "xfree86+aliases(qwertz)" "complete" "complete" "pc+de"
compile "xfree86+aliases(qwerty)" "complete" "complete" "pc+us"
compile "xfree86+aliases(qwertz)" "complete" "complete" \
"pc+de+level3(ralt_switch_for_alts_toggle)+group(alts_toggle)"
failcompile "" "" "" ""
failcompile "xfree86+aliases(qwerty)" "" "" ""
failcompile "xfree86+aliases(qwertz)" "" "" "pc+de"
failcompile "xfree86+aliases(qwertz)" "complete" "" "pc+de"
failcompile "xfree86+aliases(qwertz)" "" "complete" "pc+de"
failcompile "xfree86+aliases(qwertz)" "complete" "complete" ""
failcompile "badnames" "complete" "pc+us" "pc(pc101)"