"test/layernorm/test_layernorm_fp16.cpp" did not exist on "c5620ed0ca4f3784983f3802009b2633bbb69494"
Commit fd92f1ab authored by Paul's avatar Paul
Browse files

Add a message when there is no coredump

parent 66e7013e
......@@ -32,6 +32,8 @@ function(add_test_command NAME EXE)
if(NOT RESULT EQUAL 0)
if(EXISTS core)
execute_process(COMMAND gdb $<TARGET_FILE:${EXE}> core -batch -ex bt)
else()
message(\"No core dump\")
endif()
message(FATAL_ERROR \"Test failed\")
endif()
......
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