File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1616static int runTutorial (const std::string& dir, const std::string& filename, const std::string& perffile) {
1717 std::string rootsys = RB::GetRootSys ();
1818 std::string rootInvocation;
19- std::string thisroot = rootsys + " /bin/thisroot.sh" ;
2019 if (!filename.empty ()) {
2120 std::string fullpath = rootsys + " /" + dir + " /" + filename;
22- // FIXME: no source in /usr/dash
2321 // We are writing /usr/bin/time -v output in file to get maximum resident memory for the benchmark
24- rootInvocation = " source \" " + thisroot + " \" && /usr/bin/time -v -o \" " + perffile + " \" root.exe -l -q -b -n -x \" " + fullpath + " \" -e return " ;
22+ rootInvocation = " /usr/bin/time -v -o \" " + perffile + " \" root.exe -l -q -b -n -x \" " + fullpath + " \" -e return " ;
2523 } else {
26- rootInvocation = " source \" " + thisroot + " \" && /usr/bin/time -v -o \" " + perffile + " \" root.exe -l -q -b " ;
24+ rootInvocation = " /usr/bin/time -v -o \" " + perffile + " \" root.exe -l -q -b " ;
2725 }
2826
2927 return std::system (rootInvocation.c_str ());
You can’t perform that action at this time.
0 commit comments