https://github.com/root-project/root
Revision fe2688539eeb4b5875d499bfb0be9f9bd5443f0b authored by Fons Rademakers on 24 February 2014, 08:37:53 UTC, committed by Fons Rademakers on 24 February 2014, 08:37:53 UTC
1 parent ba875ed
Raw File
Tip revision: fe2688539eeb4b5875d499bfb0be9f9bd5443f0b authored by Fons Rademakers on 24 February 2014, 08:37:53 UTC
make version v5-34-17.
Tip revision: fe26885
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