Previous patch

Home

Next patch

./test/build

Patch: Additional logging in NTP

+#!/bin/sh
+failed=0
+until [ -f "bootstrap" ] ; do cd ..; done
+sh bootstrap >/dev/null 2>&1
+rm -f test/frox-* test/frox
+IFS=","
+for i in `cat test/build.tpl`; do
+  unset IFS
+  echo -n $i|cut -d" " -f1|tr -d "\n\r"
+  echo -n ": "
+  ./configure `echo "$i" | cut -d" " -f2- | tr -d "\n\r"` >/dev/null 2>&1 && \
+    make clean >/dev/null 2>&1 && make >/dev/null 2>&1 
+  if [ -e src/frox ] ; then
+    echo "done"
+    mv src/frox test/`echo $i | cut -d" " -f1 | tr -d "\n\r"`
+  else
+    echo "Failed"
+    failed=1
+  fi
+  IFS=","
+done
+exit $failed
+-