3 # Tiny regression testsuite driver used by some core developers to track
4 # breakage, sometimes even automated on a nightly basis.
16 *) echo "Unknown option $1"
27 if [ ! -e regtest
/$x.finished
]; then
29 mkdir
-p config
/regtest-
$x
30 cat > config
/regtest-
$x/config
<<-EOT
33 SDECFG_PKG_CCACHE_USEIT=1
34 SDECFG_ABORT_ON_ERROR_AFTER=0
38 SDECFG_OPT="lazy" # slightly speed up the test builds
40 if [ $embedded -eq 1 ]; then
41 cat >> config
/regtest-
$x/config
<<-EOT
42 SDECFG_TARGET='embedded'
43 SDECFG_TARGET_EMBEDDED_STYLE='dietlibc'
47 cat > config
/regtest-
$x/pkgsel
<<-EOT
52 .
/scripts
/Config
-cfg regtest-
$x -oldconfig
53 .
/scripts
/Download
-cfg regtest-
$x -required >> regtest
/$x.log
2>&1
54 echo "Running build ..."
55 .
/scripts
/Build-Target
-cfg regtest-
$x 2>&1 |
tee regtest
/$x.log |
56 grep '> Building\|> Finished'
57 # id=`grep SDECFG_ID config/regtest-$x/config`
60 touch regtest
/$x.finished
64 .
/scripts
/Create-ErrList
-cfg regtest-
$x |
grep " builds "
67 for x
in architecture
/*/ ; do
68 [[ $x = *share
* ]] && continue
71 if [ $embedded -eq 1 ]; then
73 cris|hppa
*|m68k|mips64|sh
*) # no diet support
74 echo "Skipping $x (for now)"
80 echo "Processing $x ..."