diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-03-16 19:18:10 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-03-16 19:56:38 -0700 |
commit | b589f25a005ad00f6fd888520f9eaaddbd707617 (patch) | |
tree | f90024e9263755813ab99534ffd5eb9e731a81d7 /cpp | |
parent | 3a24d35f7582591e274d0de6fd002b7491c82696 (diff) | |
download | mu-b589f25a005ad00f6fd888520f9eaaddbd707617.tar.gz |
931
Diffstat (limited to 'cpp')
-rwxr-xr-x | cpp/build_and_test_until | 4 | ||||
-rwxr-xr-x | cpp/test_all | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/cpp/build_and_test_until b/cpp/build_and_test_until index 3661c93a..4e5beb8c 100755 --- a/cpp/build_and_test_until +++ b/cpp/build_and_test_until @@ -1,3 +1,7 @@ +#!/bin/sh +# Load all files sorting before the given argument. +# You can pass in a prefix, but files matching the prefix *won't* be included. + set -e set -v make tangle/tangle diff --git a/cpp/test_all b/cpp/test_all new file mode 100755 index 00000000..a171031e --- /dev/null +++ b/cpp/test_all @@ -0,0 +1,9 @@ +#!/bin/bash + +for l in `seq 10 99` +do + echo "=== $l" + ./build_and_test_until 0$l + # stop after the first index without a file + if [ ! -f 0$l* ]; then break; fi +done |