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 4761 - (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 #if false; then
11 :     echo "============ pre-processing ... "
12 :     cat steps.pdid | grep -v NOTvL > stepsL.diderot
13 :     cat steps.pdid | grep -v NOTv1 > steps1.diderot
14 : glk 4745 cat steps.pdid | grep -v NOTv2 > steps2.diderot
15 : glk 4746
16 :     # set up aliases: did15 = vis15 diderotc
17 :     # set up aliases: didL = Lamont's diderotc
18 : glk 4761 alias didL="echo /SET/YOUR/PATH/TO/lamont/diderotc"
19 :     alias did15="echo /SET/YOUR/PATH/TO/vis15/diderotc"
20 : glk 4746
21 :     echo "============ compiling stepsL ..."
22 :     rm -f stepsL
23 :     didL --exec stepsL.diderot
24 :     echo "============ compiling steps1 ..."
25 :     rm -f steps1
26 :     did15 --exec steps1.diderot
27 :     echo "============ compiling steps2 ..."
28 :     rm -f steps2
29 :     did15 --exec steps2.diderot
30 :     #fi
31 :    
32 :     echo "============ running stepsL ... "
33 :     ./stepsL 2>&1 | sed -e "s/.000000//g" > historyL-seen.txt
34 :     ./stepsL 2>&1 -dosee false | sed -e "s/.000000//g" > historyL.txt
35 : glk 4760 echo "============ running steps1 ... "
36 : glk 4746 ./steps1 > history1-seen.txt
37 :     ./steps1 -dosee false > history1.txt
38 : glk 4760 echo "============ running steps2 ... "
39 : glk 4746 ./steps2 > history2-seen.txt
40 :     ./steps2 -dosee false > history2.txt

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