blob: 2afa6dab583c112cf5ae46ceb8eab8ec21ae1ff0 (
plain) (
tree)
|
|
#!/bin/bash
# Repeatedly stop building until successive layers, and run all tests built.
set -e
cd `dirname $0`
for f in [0-9]*
do
echo "=== $f"
./build_and_test_until $f || exit 1
done
./clean top
for f in examples/*.subx
do
echo $f
target=`echo $f |sed 's/\..*//'`
CFLAGS=-g ./subx translate $f -o $target
git diff --quiet $target || exit 1
done
for f in apps/*.subx
do
echo $f
target=`echo $f |sed 's/\..*//'`
CFLAGS=-g ./subx translate *.subx $f -o $target
git diff --quiet $target || exit 1
done
|