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 4749 - (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 :    
19 : glk 4749 alias didL="echo /SET/YOUR/PATH/TO/lamont/diderotc"
20 :     alias did15="echo /SET/YOUR/PATH/TO/vis15/diderotc"
21 : glk 4746
22 :     echo "============ compiling stepsL ..."
23 :     rm -f stepsL
24 :     didL --exec stepsL.diderot
25 :     echo "============ compiling steps1 ..."
26 :     rm -f steps1
27 :     did15 --exec steps1.diderot
28 :     echo "============ compiling steps2 ..."
29 :     rm -f steps2
30 :     did15 --exec steps2.diderot
31 :     #fi
32 :    
33 :     echo "============ running stepsL ... "
34 :     ./stepsL 2>&1 | sed -e "s/.000000//g" > historyL-seen.txt
35 :     ./stepsL 2>&1 -dosee false | sed -e "s/.000000//g" > historyL.txt
36 :     echo "============ running stepsL ... "
37 :     ./steps1 > history1-seen.txt
38 :     ./steps1 -dosee false > history1.txt
39 :     echo "============ running stepsL ... "
40 :     ./steps2 > history2-seen.txt
41 :     ./steps2 -dosee false > history2.txt

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