From b589f25a005ad00f6fd888520f9eaaddbd707617 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 16 Mar 2015 19:18:10 -0700 Subject: 931 --- cpp/build_and_test_until | 4 ++++ cpp/test_all | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100755 cpp/test_all 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 -- cgit 1.4.1-2-gfad0