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 5034 - (download) (as text) (annotate)
Tue Jul 11 23:24:17 2017 UTC (23 months, 1 week ago) by jhr
File size: 1445 byte(s)
  minor edits
#!/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

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="../../diderot-lamont/bin/diderotc"
alias did15="../../vis15/bin/diderotc"

echo "============ compiling stepsL ..."
rm -f stepsL
didL --exec stepsL.diderot
echo "============ running stepsL ... "
./stepsL 2>&1              | sed -e "s/.000000//g" | sort > historyL-seen.txt
./stepsL 2>&1 -dosee false | sed -e "s/.000000//g" | sort > historyL.txt
./stepsL 2>&1 -dosee false -flip true | sed -e "s/.000000//g" | sort > historyL-flip.txt

echo "============ compiling steps1 ..."
rm -f steps1
did15 --exec steps1.diderot
echo "============ running steps1 ... "
./steps1              | sort > history1-seen.txt
./steps1 -dosee false | sort > history1.txt
./steps1 -dosee false -flip true | sort > history1-flip.txt

echo "============ compiling steps2 ..."
rm -f steps2
did15 --exec steps2.diderot
echo "============ running steps2 ... "
./steps2              | sort > history2-seen.txt
./steps2 -dosee false | sort > history2.txt
./steps2 -dosee false -flip true | sort > history2-flip.txt

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