LLNL / ATS

ATS - Automated Testing System - is an open-source, Python-based tool for automating the running of tests of an application across a broad range of high performance computers.
BSD 3-Clause "New" or "Revised" License
7 stars 5 forks source link

line break in atsr.py is breaking project processing #44

Closed dawson6 closed 3 years ago

dawson6 commented 3 years ago

[10:08 AM] Dempsey, Stephanie M. I'm seeing an error when using the atsr.py output file in 7.0.5, which breaks the reporting for KULL using the floor install of ats. The atsr.py file has the 'state' of testing and we execfile on this to get an object we can create a junit report out of (or do whatever else you'd want to do). As it is now there's a newline which breaks the execfile. It looks like the file needs to join the first few lines to be exec'd now (at least that fixes it for me).

That has to be done when the file is written, though, rather than on the execfile end.  Any chance this could be fixed?

It is a difference between 6 and 7.

​[11:01 AM] Dawson, Shawn A. Hi Stephanie. Testing with Kripke to see the diffs. Confirming that it used to look like so state = AttributeDict( badlist = [] , batchmachine = None , etc.

And now looks like so: state = AttributeDict( badlist = [], batchmachine = None, etc.

And that line break is breaking your processing. I'll see if I can get that put back the way it was