Revision f7ca3aecb470522a3d5a3b6b5a041a499377351b authored by Rene Brun on 06 July 2004, 14:57:18 UTC, committed by Rene Brun on 06 July 2004, 14:57:18 UTC

git-svn-id: http://root.cern.ch/svn/root/trunk@9409 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 05bf717
Raw File
dt_RunDrawTest.sh
#!/bin/sh 

# Previous step is to do something like
# root -l -q 'MakeRef.C("Event.old.split.root");'

ClassWarning='Warning in <TClass::TClass>: no dictionary for class'
RootPrompt='root \[0\]'
EmptyLine='^$'
Streamer="Event::Streamer not available,"

# launch replace
launch () {
  (root.exe -l -b -q 'dt_wrap.C("'$1'",'$2')' 2>&1; return $?;) | \
     (eval grep -v $3 ) | \
     (if test ! "x$4" = x ; then eval grep -v $4; else cat; fi;)  | \
     (if test ! "x$5" = x ; then eval grep -v $5; else cat; fi;)  | \
     (if test ! "x$6" = x ; then eval grep -v $6; else cat; fi;)  | \
     (if test ! "x$7" = x ; then eval grep -v $7; else cat; fi;)   \
    ;
}


launch "Event.old.split.root" 0 "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine'" && \
launch "Event.old.split.root" 1 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.old.split.root" 2 "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.old.split.root" 3 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.old.split.root" 4 "'$RootPrompt'" "'$EmptyLine' "

launch "Event.old.streamed.root" 0 "'$Streamer'" "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.old.streamed.root" 1 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.old.streamed.root" 2 "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.old.streamed.root" 3 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.old.streamed.root" 4 "'$RootPrompt'" "'$EmptyLine' "

launch "Event.new.split9.root" 0 "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split9.root" 1 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split9.root" 2 "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split9.root" 3 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split9.root" 4 "'$RootPrompt'" "'$EmptyLine' "

launch "Event.new.split2.root" 0 "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split2.root" 1 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split2.root" 2 "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split2.root" 3 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split2.root" 4 "'$RootPrompt'" "'$EmptyLine' "

launch "Event.new.split1.root" 0 "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split1.root" 1 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split1.root" 2 "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split1.root" 3 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split1.root" 4 "'$RootPrompt'" "'$EmptyLine' "

launch "Event.new.split0.root" 0 "'$Streamer'" "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split0.root" 1 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split0.root" 2 "'$ClassWarning'" "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split0.root" 3 "'$RootPrompt'" "'$EmptyLine' " && \
launch "Event.new.split0.root" 4 "'$RootPrompt'" "'$EmptyLine' "
back to top