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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5034 - (view) (download) (as text)

1 : glk 4745 #!/bin/bash
2 :     set -o errexit
3 :     set -o nounset
4 :     shopt -s expand_aliases
5 :     JUNK=""
6 :     function junk { JUNK="$JUNK $@"; }
7 :     function cleanup { rm -rf $JUNK; }
8 :     trap cleanup err exit int term
9 :    
10 : glk 4746 echo "============ pre-processing ... "
11 :     cat steps.pdid | grep -v NOTvL > stepsL.diderot
12 :     cat steps.pdid | grep -v NOTv1 > steps1.diderot
13 : glk 4745 cat steps.pdid | grep -v NOTv2 > steps2.diderot
14 : glk 4746
15 :     # set up aliases: did15 = vis15 diderotc
16 :     # set up aliases: didL = Lamont's diderotc
17 : jhr 5034 alias didL="../../diderot-lamont/bin/diderotc"
18 :     alias did15="../../vis15/bin/diderotc"
19 : glk 4746
20 :     echo "============ compiling stepsL ..."
21 :     rm -f stepsL
22 :     didL --exec stepsL.diderot
23 : glk 4767 echo "============ running stepsL ... "
24 :     ./stepsL 2>&1 | sed -e "s/.000000//g" | sort > historyL-seen.txt
25 :     ./stepsL 2>&1 -dosee false | sed -e "s/.000000//g" | sort > historyL.txt
26 :     ./stepsL 2>&1 -dosee false -flip true | sed -e "s/.000000//g" | sort > historyL-flip.txt
27 :    
28 : glk 4746 echo "============ compiling steps1 ..."
29 :     rm -f steps1
30 :     did15 --exec steps1.diderot
31 : glk 4767 echo "============ running steps1 ... "
32 :     ./steps1 | sort > history1-seen.txt
33 :     ./steps1 -dosee false | sort > history1.txt
34 :     ./steps1 -dosee false -flip true | sort > history1-flip.txt
35 :    
36 : glk 4746 echo "============ compiling steps2 ..."
37 :     rm -f steps2
38 :     did15 --exec steps2.diderot
39 : glk 4760 echo "============ running steps2 ... "
40 : glk 4767 ./steps2 | sort > history2-seen.txt
41 :     ./steps2 -dosee false | sort > history2.txt
42 :     ./steps2 -dosee false -flip true | sort > history2-flip.txt

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