add utest load_program_from_gen_bin.
authorLuoXionghu <xionghu.luo@intel.com>
Wed, 16 Jul 2014 01:31:06 +0000 (09:31 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Wed, 16 Jul 2014 05:49:56 +0000 (13:49 +0800)
commit36644bb9e3e94dfea42e44ab92f48fd120db808f
tree7ce4a947158d8729223c61486637b0b35588cb82
parent958296cb14f7d5a34fb8a2c21e3230de71a5cab0
add utest load_program_from_gen_bin.

this test case would check whether genProgramSerializeToBinary in
backend can generator gen binary correctly.

rename load_program_from_bin to load_program_from_bin_file.
the difference is load_program_from_bin_file could either load program
from llvm binary or gen binary file generated by gbe_bin_generator.

Signed-off-by: LuoXionghu <xionghu.luo@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
utests/CMakeLists.txt
utests/load_program_from_bin_file.cpp [moved from utests/load_program_from_bin.cpp with 95% similarity]
utests/load_program_from_gen_bin.cpp [new file with mode: 0644]