about summary refs log tree commit diff stats
path: root/subx/059read-byte.subx
Commit message (Expand)AuthorAgeFilesLines
* 4842Kartik Agaram2018-12-051-2/+1
* 4840Kartik Agaram2018-12-041-4/+5
* 4829Kartik Agaram2018-12-031-3/+3
* 4828 - writing to buffered-fileKartik Agaram2018-12-031-3/+2
* 4823Kartik Agaram2018-12-031-4/+2
* 4819Kartik Agaram2018-12-021-3/+3
* 4818Kartik Agaram2018-12-021-1/+1
* 4808 - clean up comments in all subx filesKartik Agaram2018-11-301-18/+23
* 4802Kartik Agaram2018-11-301-59/+59
* 4801Kartik Agaram2018-11-301-158/+158
* 4780Kartik Agaram2018-11-261-1/+0
* 4762Kartik Agaram2018-11-231-5/+8
* 4760Kartik Agaram2018-11-211-0/+2
* 4759Kartik Agaram2018-11-201-1/+1
* 4756Kartik Agaram2018-11-191-1/+1
* 4755 - read-byte (sometimes called getchar)Kartik Agaram2018-11-191-0/+243
>
#!/bin/sh
# Run tests for just a subset of layers.
#
# Usage:
#   build_and_test_until [file prefix] [test name]
# Provide the second arg to run just a single test.
set -e

# clean previous builds if they were building until a different layer
touch .until
PREV_UNTIL=`cat .until`
if [ "$PREV_UNTIL" != $1 ]
then
  ./clean top-level
  echo $1 > .until
fi

./build3 --until $1  &&  ./mu_bin test $2