Skip to content
Snippets Groups Projects
Commit 6b80e6fe authored by Alexander van Amesfoort's avatar Alexander van Amesfoort
Browse files

Task #5291: disable performance checks on tCorrelate_ log files: it doesn't...

Task #5291: disable performance checks on tCorrelate_ log files: it doesn't work properly for a few reasons and the shell prints an error. Also remove a bit of disabled code.
parent b080823b
No related branches found
No related tags found
No related merge requests found
......@@ -187,11 +187,6 @@ int main(int argc, char **argv)
if (setenv("TZ", "UTC", 1) < 0)
THROW_SYSCALL("setenv(TZ)");
// Restrict access to (tmp build) files we create to owner
// JD: Don't do that! We want to be able to clean up each other's
// mess.
// umask(S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH | S_IWOTH | S_IXOTH);
// Create a parameters set object based on the inputs
LOG_INFO("----- Reading Parset");
Parset ps(argv[optind]);
......
......@@ -125,11 +125,10 @@ function parse_logs
#disabled, as we do not use it atm and the ops nrs are out-of-date, but it is time-consuming)
# runObservation.sh -F -l 4 -p $PARSET > performance_profiled.txt 2>&1 || error "Profiling observation failed"
# check logs
# check logs for performance degradation (disabled, checks not good enough and operation counts out-of-date)
# parse_logs performance_normal.txt performance_profiled.txt || error "Could not parse log files"
parse_logs performance_normal.txt || error "Could not parse log files"
# toss output if everything is ok, but do not fail test if removal fails
rm -rf $testdir/$OUTDIR || true # Comment this line for output
# rm -rf $testdir/$OUTDIR || true # Comment this line for output
) || exit 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment