Commit 54f1ad5d authored by Andrey Filippov's avatar Andrey Filippov

minor changes fro error reporting during simulation

parent 23ed9db3
...@@ -69,7 +69,8 @@ except: ...@@ -69,7 +69,8 @@ except:
global_db={} global_db={}
global_pRef=() global_pRef=()
sys.stdout.write("Running: %s %s %s %s\n" % (sys.argv[0],sys.argv[1],sys.argv[2],sys.argv[3])) #sys.stdout.write("Running: %s %s %s %s\n" % (sys.argv[0],sys.argv[1],sys.argv[2],sys.argv[3]))
sys.stdout.write("Running: %s"%str(sys.argv))
def isProblem(string): def isProblem(string):
if string.startswith("ERROR:") or string.startswith("CRITICAL WARNING:") or string.startswith("WARNING:") or string.startswith("INFO:"): if string.startswith("ERROR:") or string.startswith("CRITICAL WARNING:") or string.startswith("WARNING:") or string.startswith("INFO:"):
return True return True
......
...@@ -420,7 +420,7 @@ ...@@ -420,7 +420,7 @@
<parameter id="GrepEWI" type="String" label = "GrepWarning" <parameter id="GrepEWI" type="String" label = "GrepWarning"
format="GrepFindSyntax" default="error|ERROR%GrepWarning%GrepInfo%GrepDebug%GrepSim" visible="true" readonly="true"/> format="GrepFindSyntax" default="Error|error|ERROR%GrepWarning%GrepInfo%GrepDebug%GrepSim" visible="true" readonly="true"/>
<parameter id="SIMULATION_PATH" type="String" <parameter id="SIMULATION_PATH" type="String"
format="MakefileExport" default= "%%ProjectPath/%SimulDir" visible="false" /> format="MakefileExport" default= "%%ProjectPath/%SimulDir" visible="false" />
......
...@@ -222,11 +222,11 @@ ...@@ -222,11 +222,11 @@
omit="" readonly="false" /> omit="" readonly="false" />
<parameter id="GrepFindErr" label="Grep pattern for errors only" <parameter id="GrepFindErr" label="Grep pattern for errors only"
type="String" format="GrepFindSyntax" default="error" readonly="false" type="String" format="GrepFindSyntax" default="error|Error|ERROR" readonly="false"
visible="true" /> visible="true" />
<parameter id="GrepFindErrWarn" label="Grep pattern for both errors and warnings" <parameter id="GrepFindErrWarn" label="Grep pattern for both errors and warnings"
type="String" format="GrepFindSyntax" default="error|warning|sorry" type="String" format="GrepFindSyntax" default="error|Error|ERROR|warning|Warning|WARNING|sorry"
readonly="false" visible="true" /> readonly="false" visible="true" />
<parameter id="GrepSkip1" label="Grep skip pattern" type="String" <parameter id="GrepSkip1" label="Grep skip pattern" type="String"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment