deepC icon indicating copy to clipboard operation
deepC copied to clipboard

Make TEST fails swig tests

Open robinvanemden opened this issue 4 years ago • 2 comments

Probably a known issue, but I thought I'd report it here anyway. make TEST produces the following SWIG related errors:

Running tests in ===|swig|===
----------------------------------------------------------------------
Ran 726 tests in 0.194s

OK

Running tests in ===|parser|===
ERROR (GRAPH): some of graph RNN_graph's node dnnc___1's
               inputs are not connected to other nodes in the graph.
ERROR (TYPE INFER): cound not find all nodes for dnnc___1,
ERROR (CODEGEN): cound not find all nodes for dnnc___1,
                 an instance of RNN.
                 Please check model's sanity and try again.
ERROR (GRAPH): some of graph Loop_graph's node dnnc___1's
               outputs are not connected to other nodes in the graph.
ERROR (CODEGEN): cound not find all nodes for dnnc___1,
                 an instance of Loop.
                 Please check model's sanity and try again.
ERROR (GRAPH): some of graph If_graph's node 2's
               inputs are not connected to other nodes in the graph.
ERROR (GRAPH): some of graph BatchNormalization_graph's node dnnc___1's
               inputs are not connected to other nodes in the graph.
ERROR (GRAPH): some of graph BatchNormalization_graph's node 1's
               outputs are not connected to other nodes in the graph.
ERROR (TYPE INFER): cound not find all nodes for dnnc___1,
ERROR (CODEGEN): cound not find all nodes for dnnc___1,
                 an instance of BatchNormalization.
                 Please check model's sanity and try again.
ERROR (GRAPH): some of graph GRU_graph's node dnnc___1's
               inputs are not connected to other nodes in the graph.
ERROR (TYPE INFER): cound not find all nodes for dnnc___1,
ERROR (CODEGEN): cound not find all nodes for dnnc___1,
                 an instance of GRU.
                 Please check model's sanity and try again.
read 130 files.
----------------------------------------------------------------------
Ran 1 test in 0.042s

robinvanemden avatar Jun 17 '20 16:06 robinvanemden

Yes, all these failing tests are valid errors thrown by sanity check on a graph created by a single operator.

Need to find a cleaner way to rearrange tests into positive and negative tests.

srohit0 avatar Jun 17 '20 17:06 srohit0

That makes sense - thanks!

robinvanemden avatar Jun 17 '20 18:06 robinvanemden