gdb-buildbot/xfails/update-xfail-builders.sh

22 lines
488 B
Bash
Raw Normal View History

#!/bin/bash
if test $# -ne 1 ; then
echo "You must provide the directory of the builders' git repos"
echo "Usually, this is the public_html/results directory inside the"
echo "BuildBot directory"
exit 1
fi
# The equivalent of the gdb_web_base (in the configuration files)
GDB_WEB_BASE=$1
for d in `ls` ; do
if ! test -d $GDB_WEB_BASE/$d ; then
continue
fi
if ! test -h $GDB_WEB_BASE/$d/xfail ; then
2015-01-16 03:10:12 +00:00
ln -s $PWD/$d/xfail $GDB_WEB_BASE/$d/xfail
fi
done