Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /tests/new-tests/go-steps.sh
ViewVC logotype

View of /tests/new-tests/go-steps.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4761 - (download) (as text) (annotate)
Mon Oct 17 12:06:09 2016 UTC (2 years, 8 months ago) by glk
File size: 1231 byte(s)
oops didn't mean to commit my laptop-specific paths
#!/bin/bash
set -o errexit
set -o nounset
shopt -s expand_aliases
JUNK=""
function junk { JUNK="$JUNK $@"; }
function cleanup { rm -rf $JUNK; }
trap cleanup err exit int term

#if false; then
echo "============ pre-processing ... "
cat steps.pdid | grep -v NOTvL > stepsL.diderot
cat steps.pdid | grep -v NOTv1 > steps1.diderot
cat steps.pdid | grep -v NOTv2 > steps2.diderot

# set up aliases: did15 = vis15 diderotc
# set up aliases: didL = Lamont's diderotc
alias didL="echo /SET/YOUR/PATH/TO/lamont/diderotc"
alias did15="echo /SET/YOUR/PATH/TO/vis15/diderotc"

echo "============ compiling stepsL ..."
rm -f stepsL
didL --exec stepsL.diderot
echo "============ compiling steps1 ..."
rm -f steps1
did15 --exec steps1.diderot
echo "============ compiling steps2 ..."
rm -f steps2
did15 --exec steps2.diderot
#fi

echo "============ running stepsL ... "
./stepsL 2>&1              | sed -e "s/.000000//g" > historyL-seen.txt
./stepsL 2>&1 -dosee false | sed -e "s/.000000//g" > historyL.txt
echo "============ running steps1 ... "
./steps1              > history1-seen.txt
./steps1 -dosee false > history1.txt
echo "============ running steps2 ... "
./steps2              > history2-seen.txt
./steps2 -dosee false > history2.txt

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0