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

22 lines
491 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
2015-01-24 00:08:18 +00:00
if ! test -h $GDB_WEB_BASE/$d/xfails ; then
ln -s $PWD/$d/xfails $GDB_WEB_BASE/$d/xfails
fi
done